|
| InternalLoggingEvent (const log4cplus::tstring &logger, LogLevel loglevel, const log4cplus::tstring &message, const char *filename, int line) |
| Instantiate a LoggingEvent from the supplied parameters. More...
|
|
| InternalLoggingEvent (const log4cplus::tstring &logger, LogLevel loglevel, const log4cplus::tstring &ndc, MappedDiagnosticContextMap const &mdc, const log4cplus::tstring &message, const log4cplus::tstring &thread, log4cplus::helpers::Time time, const log4cplus::tstring &file, int line) |
|
| InternalLoggingEvent (const log4cplus::spi::InternalLoggingEvent &rhs) |
|
void | setLoggingEvent (const log4cplus::tstring &logger, LogLevel ll, const log4cplus::tstring &message, const char *filename, int line) |
|
void | setFunction (char const *func) |
|
void | setFunction (log4cplus::tstring const &) |
|
virtual const log4cplus::tstring & | getMessage () const |
| The application supplied message of logging event. More...
|
|
virtual unsigned int | getType () const |
| Returns the 'type' of InternalLoggingEvent. More...
|
|
virtual OFauto_ptr
< InternalLoggingEvent > | clone () const |
| Returns a copy of this object. More...
|
|
const log4cplus::tstring & | getLoggerName () const |
| The logger of the logging event. More...
|
|
LogLevel | getLogLevel () const |
| LogLevel of logging event. More...
|
|
const log4cplus::tstring & | getNDC () const |
| The nested diagnostic context (NDC) of logging event. More...
|
|
MappedDiagnosticContextMap const & | getMDCCopy () const |
|
tstring const & | getMDC (tstring const &key) const |
|
const log4cplus::tstring & | getThread () const |
| The name of thread in which this logging event was generated. More...
|
|
const log4cplus::tstring & | getThread2 () const |
| The alternative name of thread in which this logging event was generated. More...
|
|
const log4cplus::helpers::Time & | getTimestamp () const |
| The number of milliseconds elapsed from 1/1/1970 until logging event was created. More...
|
|
const log4cplus::tstring & | getFile () const |
| The is the file where this log statement was written.
|
|
int | getLine () const |
| The is the line where this log statement was written.
|
|
log4cplus::tstring const & | getFunction () const |
|
void | gatherThreadSpecificData () const |
|
void | swap (InternalLoggingEvent &) |
|
log4cplus::spi::InternalLoggingEvent & | operator= (const log4cplus::spi::InternalLoggingEvent &rhs) |
|
The internal representation of logging events.
When an affirmative decision is made to log then a InternalLoggingEvent
instance is created. This instance is passed around to the different log4cplus components.
This class is of concern to those wishing to extend log4cplus.