18 #ifndef _LOG4CXX_HTML_LAYOUT_H 19 #define _LOG4CXX_HTML_LAYOUT_H 22 #pragma warning ( push ) 23 #pragma warning ( disable: 4231 4251 4275 4786 ) 69 this->locationInfo = locationInfoFlag;
87 this->title.assign(title1);
103 return LOG4CXX_STR(
"text/html");
141 #if defined(_MSC_VER) 142 #pragma warning ( pop ) 146 #endif // _LOG4CXX_HTML_LAYOUT_H #define LOG4CXX_CAST_ENTRY(Interface)
Definition: object.h:148
#define END_LOG4CXX_CAST_MAP()
Definition: object.h:142
virtual void activateOptions(log4cxx::helpers::Pool &)
No options to activate.
Definition: htmllayout.h:109
std::shared_ptr< LoggingEvent > LoggingEventPtr
Definition: appender.h:37
#define BEGIN_LOG4CXX_CAST_MAP()
Definition: object.h:136
Extend this abstract class to create your own log layout format.
Definition: layout.h:37
const LogString & getTitle() const
Returns the current value of the Title option.
Definition: htmllayout.h:93
LOG4CXX_PTR_DEF(Appender)
#define DECLARE_LOG4CXX_OBJECT(object)
Definition: object.h:39
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
#define LOG4CXX_CAST_ENTRY_CHAIN(Interface)
Definition: object.h:154
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:32
std::basic_string< logchar > LogString
Definition: logstring.h:66