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