 |
log4cplus
2.0.6
|
Go to the documentation of this file.
24 #ifndef LOG4CPLUS_SPI_INTERNAL_LOGGING_EVENT_HEADER_
25 #define LOG4CPLUS_SPI_INTERNAL_LOGGING_EVENT_HEADER_
29 #if defined (LOG4CPLUS_HAVE_PRAGMA_ONCE)
68 const char* filename,
int line,
const char *
function =
nullptr);
98 const char * filename,
int line,
99 const char *
function =
nullptr);
101 void setFunction (
char const * func);
113 virtual unsigned int getType()
const;
118 virtual std::unique_ptr<InternalLoggingEvent> clone()
const;
177 thread2Cached =
true;
203 void gatherThreadSpecificData ()
const;
212 static unsigned int getDefaultType();
239 #endif // LOG4CPLUS_SPI_INTERNAL_LOGGING_EVENT_HEADER_
const log4cplus::tstring & getNDC() const
The nested diagnostic context (NDC) of logging event.
LOG4CPLUS_EXPORT MDC & getMDC()
std::basic_string< tchar > tstring
log4cplus::helpers::Time timestamp
bool ndcCached
Indicates whether or not the NDC has been retrieved.
const log4cplus::tstring & getLoggerName() const
The logger of the logging event.
log4cplus::tstring message
const MappedDiagnosticContextMap & getContext() const
bool mdcCached
Indicates whether or not the MDC has been retrieved.
const log4cplus::tstring & get() const
Used when printing the diagnostic context.
log4cplus::tstring loggerName
LogLevel getLogLevel() const
LogLevel of logging event.
log4cplus::tstring thread
const log4cplus::tstring & getFunction() const
#define LOG4CPLUS_ATTRIBUTE_DEPRECATED
const log4cplus::tstring & getThread() const
The name of thread in which this logging event was generated.
LOG4CPLUS_EXPORT const log4cplus::tstring & getCurrentThreadName()
const log4cplus::tstring & getFile() const
The is the file where this log statement was written.
const log4cplus::helpers::Time & getTimestamp() const
Time stamp when the event was created.
The internal representation of logging events.
MappedDiagnosticContextMap mdc
LOG4CPLUS_EXPORT const log4cplus::tstring & getCurrentThreadName2()
std::map< tstring, tstring > MappedDiagnosticContextMap
int getLine() const
The is the line where this log statement was written.
chrono::time_point< Clock, Duration > Time
log4cplus::tstring thread2
const log4cplus::tstring & getThread2() const
The alternative name of thread in which this logging event was generated.
const MappedDiagnosticContextMap & getMDCCopy() const
LOG4CPLUS_EXPORT NDC & getNDC()
Return a reference to the singleton object.
bool threadCached
Indicates whether or not the Threadname has been retrieved.