Engauge Digitizer  2
PatternLayout.cpp
1 #include "log4cpp/LoggingEvent.hh"
2 #include "log4cpp/PatternLayout.hh"
3 
4 using namespace log4cpp;
5 using namespace std;
6 
8  Layout()
9 {
10 }
11 
12 PatternLayout::~PatternLayout()
13 {
14 }
15 
17 {
18  string empty;
19  return empty;
20 }
21 
22 void PatternLayout::setConversionPattern (const std::string &conversionPattern)
23 {
24  if (conversionPattern == "") {
25  throw ConfigureFailure("Empty reason");
26  }
27 
28  m_conversionPattern = conversionPattern;
29 }
30 
31 
virtual 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
Noop class that mimics the same class in the log4cpp library.
Definition: Configurator.hh:10
virtual std::string format(const LoggingEvent &event)
Noop method for formatting an event.
PatternLayout()
Single constructor.