18#ifndef _LOG4CXX_HTML_LAYOUT_H
19#define _LOG4CXX_HTML_LAYOUT_H
34 LOG4CXX_DECLARE_PRIVATE_MEMBER_PTR(HTMLLayoutPrivate, m_priv)
This layout outputs events in a HTML table.
Definition htmllayout.h:32
void activateOptions(helpers::Pool &) override
Activate the options that were previously set with calls to option setters.
Definition htmllayout.h:86
void setTitle(const LogString &title1)
The Title option takes a String value.
void format(LogString &output, const spi::LoggingEventPtr &event, helpers::Pool &pool) const override
Implement this method to create your own layout format.
void appendHeader(LogString &output, helpers::Pool &pool) override
Append appropriate HTML headers.
LogString getContentType() const override
Returns the content type output by this layout, i.e "text/html".
bool ignoresThrowable() const override
The HTML layout handles the throwable contained in logging events.
void setOption(const LogString &option, const LogString &value) override
Set option to value.
bool getLocationInfo() const
Returns the current value of the LocationInfo option.
const LogString & getTitle() const
Returns the current value of the Title option.
void setLocationInfo(bool locationInfoFlag)
The LocationInfo option takes a boolean value.
void appendFooter(LogString &output, helpers::Pool &pool) override
Append the appropriate HTML footers.
Extend this abstract class to create your own log layout format.
Definition layout.h:34
Definition propertysetter.h:27
std::shared_ptr< LoggingEvent > LoggingEventPtr
Definition appender.h:32
std::basic_string< logchar > LogString
Definition logstring.h:60
LOG4CXX_PTR_DEF(Appender)
#define LOG4CXX_CAST_ENTRY(Interface)
Definition object.h:158
#define END_LOG4CXX_CAST_MAP()
Definition object.h:152
#define DECLARE_LOG4CXX_OBJECT(object)
Definition object.h:43
#define LOG4CXX_CAST_ENTRY_CHAIN(Interface)
Definition object.h:164
#define BEGIN_LOG4CXX_CAST_MAP()
Definition object.h:146