18 #ifndef _LOG4CXX_PATTERN_LAYOUT_H 19 #define _LOG4CXX_PATTERN_LAYOUT_H 22 #pragma warning ( push ) 23 #pragma warning ( disable: 4231 4251 4275 4786 ) 26 #include <log4cxx/layout.h> 27 #include <log4cxx/pattern/loggingeventpatternconverter.h> 28 #include <log4cxx/pattern/formattinginfo.h> 29 #include <log4cxx/pattern/patternparser.h> 33 LOG4CXX_LIST_DEF(LoggingEventPatternConverterList, log4cxx::pattern::LoggingEventPatternConverterPtr);
339 LogString conversionPattern;
344 LoggingEventPatternConverterList patternConverters;
349 FormattingInfoList patternFields;
353 BEGIN_LOG4CXX_CAST_MAP()
355 LOG4CXX_CAST_ENTRY_CHAIN(
Layout)
356 END_LOG4CXX_CAST_MAP()
373 void setConversionPattern(
const LogString& conversionPattern);
380 return conversionPattern;
388 virtual void setOption(
const LogString& option,
const LogString& value);
403 virtual void format( LogString& output,
408 virtual log4cxx::pattern::PatternMap getFormatSpecifiers();
414 #if defined(_MSC_VER) 415 #pragma warning ( pop ) 418 #endif //_LOG4CXX_PATTERN_LAYOUT_H Extend this abstract class to create your own log layout format.
Definition: layout.h:38
LogString getConversionPattern() const
Returns the value of the ConversionPattern option.
Definition: patternlayout.h:378
virtual bool ignoresThrowable() const
The PatternLayout does not handle the throwable contained within LoggingEvents.
Definition: patternlayout.h:395
A flexible layout configurable with pattern string.
Definition: patternlayout.h:334
Definition: appender.h:33
smart pointer to a Object descendant
Definition: objectptr.h:54