Engauge Digitizer  2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
PatternLayout.hh
Go to the documentation of this file.
1  #ifndef PATTERN_LAYOUT_HH
2 #define PATTERN_LAYOUT_HH
3 
5 #include "log4cpp/Layout.hh"
6 #include <string>
7 
8 namespace log4cpp {
9 
10  class LoggingEvent;
11 
13  class PatternLayout : public Layout
14  {
15  public:
17  PatternLayout ();
18  virtual ~PatternLayout ();
19 
21  virtual std::string format(const LoggingEvent &event);
22 
25  void setConversionPattern (const std::string &conversionPattern);
26 
27  private:
28  std::string m_conversionPattern;
29  };
30 }
31 
32 #endif // PATTERN_LAYOUT_HH
void setConversionPattern(const std::string &conversionPattern)
Noop method for setting the conversion pattern.
Noop class that mimics the same class in the log4cpp library.
Definition: LoggingEvent.hh:10
Noop version that mimics the same class in the log4cpp library.
Definition: Layout.hh:11
virtual std::string format(const LoggingEvent &event)
Noop method for formatting an event.
PatternLayout()
Single constructor.
Noop class that mimics the same class in the log4cpp library.