18#ifndef LOG4CXX_FMT_LAYOUT_H
19#define LOG4CXX_FMT_LAYOUT_H
22 #pragma warning ( push )
23 #pragma warning ( disable: 4231 4251 4275 4786 )
215 LOG4CXX_DECLARE_PRIVATE_MEMBER_PTR(FMTLayoutPrivate, m_priv)
250 const
spi::LoggingEventPtr& event,
251 helpers::Pool& pool) const override;
281 #pragma warning ( pop )
The FMTLayout class uses libfmt to layout messages.
Definition fmtlayout.h:214
bool ignoresThrowable() const override
If the layout handles the throwable object contained within LoggingEvent, then the layout should retu...
Definition fmtlayout.h:253
void setOption(const LogString &, const LogString &) override
Set option to value.
LogString getConversionPattern() const
Returns the value of the ConversionPattern option.
void format(LogString &output, const spi::LoggingEventPtr &event, helpers::Pool &pool) const override
Returns the log statement in a format consisting of the level, followed by " - " and then the message...
void setConversionPattern(const LogString &conversionPattern)
Set the ConversionPattern option.
void activateOptions(helpers::Pool &) override
Activate the options that were previously set with calls to option setters.
Extend this abstract class to create your own log layout format.
Definition layout.h:34
Definition propertysetter.h:27
Definition cacheddateformat.h:26
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