18 #ifndef _LOG4CXX_HTML_LAYOUT_H 19 #define _LOG4CXX_HTML_LAYOUT_H 22 #pragma warning ( push ) 23 #pragma warning ( disable: 4231 4251 4275 4786 ) 27 #include <log4cxx/layout.h> 28 #include <log4cxx/helpers/iso8601dateformat.h> 49 BEGIN_LOG4CXX_CAST_MAP()
51 LOG4CXX_CAST_ENTRY_CHAIN(
Layout)
52 END_LOG4CXX_CAST_MAP()
69 this->locationInfo = locationInfoFlag;
87 this->title.assign(title1);
103 return LOG4CXX_STR(
"text/html");
114 virtual void setOption(
const LogString& option,
const LogString& value);
116 virtual void format(LogString& output,
141 #if defined(_MSC_VER) 142 #pragma warning ( pop ) 146 #endif // _LOG4CXX_HTML_LAYOUT_H virtual void activateOptions(log4cxx::helpers::Pool &)
No options to activate.
Definition: htmllayout.h:109
Extend this abstract class to create your own log layout format.
Definition: layout.h:38
const LogString & getTitle() const
Returns the current value of the Title option.
Definition: htmllayout.h:93
virtual LogString getContentType() const
Returns the content type output by this layout, i.e "text/html".
Definition: htmllayout.h:101
virtual bool ignoresThrowable() const
The HTML layout handles the throwable contained in logging events.
Definition: htmllayout.h:132
This layout outputs events in a HTML table.
Definition: htmllayout.h:37
void setLocationInfo(bool locationInfoFlag)
The LocationInfo option takes a boolean value.
Definition: htmllayout.h:67
bool getLocationInfo() const
Returns the current value of the LocationInfo option.
Definition: htmllayout.h:75
void setTitle(const LogString &title1)
The Title option takes a String value.
Definition: htmllayout.h:85
Definition: appender.h:33