18 #ifndef _LOG4CXX_XML_LAYOUT_H 19 #define _LOG4CXX_XML_LAYOUT_H 21 #include <log4cxx/layout.h> 63 BEGIN_LOG4CXX_CAST_MAP()
65 LOG4CXX_CAST_ENTRY_CHAIN(
Layout)
66 END_LOG4CXX_CAST_MAP()
83 this->locationInfo = locationInfo1;
121 virtual void setOption(
const LogString& option,
122 const LogString& value);
128 virtual void format(LogString& output,
146 #endif // _LOG4CXX_XML_LAYOUT_H void activateOptions(log4cxx::helpers::Pool &)
No options to activate.
Definition: xmllayout.h:116
virtual bool ignoresThrowable() const
The XMLLayout prints and does not ignore exceptions.
Definition: xmllayout.h:136
Extend this abstract class to create your own log layout format.
Definition: layout.h:38
The output of the XMLLayout consists of a series of log4j:event elements.
Definition: xmllayout.h:53
void setLocationInfo(bool locationInfo1)
The LocationInfo option takes a boolean value.
Definition: xmllayout.h:81
bool getProperties()
Gets whether MDC key-value pairs should be output.
Definition: xmllayout.h:109
void setProperties(bool flag)
Sets whether MDC key-value pairs should be output, default false.
Definition: xmllayout.h:99
Definition: appender.h:33
bool getLocationInfo() const
Returns the current value of the LocationInfo option.
Definition: xmllayout.h:89