18 #ifndef _LOG4CXX_TTCC_LAYOUT_H 19 #define _LOG4CXX_TTCC_LAYOUT_H 22 #pragma warning ( push ) 23 #pragma warning ( disable: 4231 4251 4275 4786 ) 78 bool categoryPrefixing;
110 this->threadPrinting = threadPrinting1;
118 return threadPrinting;
127 this->categoryPrefixing = categoryPrefixing1;
135 return categoryPrefixing;
145 this->contextPrinting = contextPrinting1;
153 return contextPrinting;
162 this->filePrinting = filePrinting1;
202 #if defined(_MSC_VER) 203 #pragma warning ( pop ) bool getThreadPrinting() const
Returns value of the ThreadPrinting option.
Definition: ttcclayout.h:116
#define LOG4CXX_CAST_ENTRY(Interface)
Definition: object.h:153
#define END_LOG4CXX_CAST_MAP()
Definition: object.h:147
std::shared_ptr< LoggingEvent > LoggingEventPtr
Definition: appender.h:37
#define BEGIN_LOG4CXX_CAST_MAP()
Definition: object.h:141
Extend this abstract class to create your own log layout format.
Definition: layout.h:37
bool getContextPrinting() const
Returns value of the ContextPrinting option.
Definition: ttcclayout.h:151
LOG4CXX_PTR_DEF(Appender)
void setThreadPrinting(bool threadPrinting1)
The ThreadPrinting option specifies whether the name of the current thread is part of log output or n...
Definition: ttcclayout.h:108
This abstract layout takes care of all the date related options and formatting work.
Definition: datelayout.h:38
bool getCategoryPrefixing() const
Returns value of the CategoryPrefixing option.
Definition: ttcclayout.h:133
#define DECLARE_LOG4CXX_OBJECT(object)
Definition: object.h:39
virtual bool ignoresThrowable() const
The TTCCLayout does not handle the throwable contained within LoggingEvents.
Definition: ttcclayout.h:193
#define LOG4CXX_CAST_ENTRY_CHAIN(Interface)
Definition: object.h:159
bool getFilePrinting() const
Returns value of the ContextPrinting option.
Definition: ttcclayout.h:168
TTCC layout format consists of time, thread, logger name and nested diagnostic context information...
Definition: ttcclayout.h:73
void setContextPrinting(bool contextPrinting1)
The ContextPrinting option specifies log output will include the nested context information belonging...
Definition: ttcclayout.h:143
void setFilePrinting(bool filePrinting1)
The FilePrinting option specifies log output will include the file and the line where the log stateme...
Definition: ttcclayout.h:160
Definition: appender.h:32
std::basic_string< logchar > LogString
Definition: logstring.h:66
void setCategoryPrefixing(bool categoryPrefixing1)
The CategoryPrefixing option specifies whether Logger name is part of log output or not...
Definition: ttcclayout.h:125