18#ifndef _LOG4CXX_LAYOUT_H
19#define _LOG4CXX_LAYOUT_H
48 const
spi::LoggingEventPtr& event, LOG4CXX_NS::
helpers::Pool& pool) const = 0;
Extend this abstract class to create your own log layout format.
Definition layout.h:34
virtual void appendHeader(LogString &output, log4cxx::helpers::Pool &p)
Append the header for the layout format.
virtual void appendFooter(LogString &output, log4cxx::helpers::Pool &p)
Append the footer for the layout format.
virtual bool ignoresThrowable() const =0
If the layout handles the throwable object contained within LoggingEvent, then the layout should retu...
virtual void format(LogString &output, const spi::LoggingEventPtr &event, log4cxx::helpers::Pool &pool) const =0
Implement this method to create your own layout format.
virtual LogString getContentType() const
Returns the content type output by this layout.
size_t getFormattedEventCharacterCount() const
The expected length of a formatted event excluding the message text.
base class for java-like objects.
Definition object.h:106
A string based interface to configure package components.
Definition optionhandler.h:35
Definition propertysetter.h:27
std::basic_string< logchar > LogString
Definition logstring.h:60
LOG4CXX_PTR_DEF(Appender)
#define LOG4CXX_CAST_ENTRY(Interface)
Definition object.h:158
#define DECLARE_ABSTRACT_LOG4CXX_OBJECT(object)
Definition object.h:39
#define END_LOG4CXX_CAST_MAP()
Definition object.h:152
#define BEGIN_LOG4CXX_CAST_MAP()
Definition object.h:146