 |
log4cplus
2.0.5
|
Go to the documentation of this file.
24 #ifndef LOG4CPLUS_LAYOUT_HEADER_
25 #define LOG4CPLUS_LAYOUT_HEADER_
29 #if defined (LOG4CPLUS_HAVE_PRAGMA_ONCE)
48 class PatternConverter;
169 TTCCLayout(
bool use_gmtime =
false,
bool thread_printing =
true,
170 bool category_prefixes =
true,
bool context_printing =
true);
188 bool use_gmtime =
false;
189 bool thread_printing =
true;
190 bool category_prefixing =
true;
191 bool context_printing =
true;
645 #endif // LOG4CPLUS_LAYOUT_HEADER_
bool getThreadPrinting() const
PatternLayout(const log4cplus::tstring &pattern)
virtual void formatAndAppend(log4cplus::tostream &output, const log4cplus::spi::InternalLoggingEvent &event)
std::basic_string< tchar > tstring
virtual void formatAndAppend(log4cplus::tostream &output, const log4cplus::spi::InternalLoggingEvent &event)
TTCC layout format consists of time, thread, Logger and nested diagnostic context information,...
LOG4CPLUS_EXPORT helpers::Time const & getTTCCLayoutTimeBase()
TTCCLayout(const log4cplus::helpers::Properties &properties)
void setContextPrinting(bool)
Layout(const helpers::Properties &properties)
This header defines the LogLevel type.
A flexible layout configurable with pattern string.
log4cplus::tstring pattern
virtual void formatAndAppend(log4cplus::tostream &output, const log4cplus::spi::InternalLoggingEvent &event)=0
virtual void formatAndAppend(log4cplus::tostream &output, const log4cplus::spi::InternalLoggingEvent &event)
std::basic_ostream< tchar > tostream
std::vector< std::unique_ptr< pattern::PatternConverter > > parsedPattern
void init(const log4cplus::tstring &pattern, unsigned ndcMaxDepth=0)
This class is used to layout strings sent to an {}.
void setThreadPrinting(bool)
void setCategoryPrefixing(bool)
The internal representation of logging events.
SimpleLayout(const log4cplus::helpers::Properties &properties)
TTCCLayout(bool use_gmtime=false, bool thread_printing=true, bool category_prefixes=true, bool context_printing=true)
chrono::time_point< Clock, Duration > Time
bool getCategoryPrefixing() const
This class is used to "manage" LogLevel definitions.
log4cplus::tstring dateFormat
LogLevelManager & llmCache
PatternLayout(const log4cplus::helpers::Properties &properties)
bool getContextPrinting() const
SimpleLayout consists of the LogLevel of the log statement, followed by " - " and then the log messag...