 |
log4cplus
2.0.6
|
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);
177 bool getThreadPrinting()
const;
178 void setThreadPrinting(
bool);
180 bool getCategoryPrefixing()
const;
181 void setCategoryPrefixing(
bool);
183 bool getContextPrinting()
const;
184 void setContextPrinting(
bool);
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_
std::basic_string< tchar > tstring
TTCC layout format consists of time, thread, Logger and nested diagnostic context information,...
A flexible layout configurable with pattern string.
log4cplus::tstring pattern
std::basic_ostream< tchar > tostream
std::vector< std::unique_ptr< pattern::PatternConverter > > parsedPattern
This class is used to layout strings sent to an {}.
The internal representation of logging events.
LOG4CPLUS_EXPORT const helpers::Time & getTTCCLayoutTimeBase()
chrono::time_point< Clock, Duration > Time
This class is used to "manage" LogLevel definitions.
log4cplus::tstring dateFormat
LogLevelManager & llmCache
SimpleLayout consists of the LogLevel of the log statement, followed by " - " and then the log messag...