#include <LoggingEvent.hh>
Collaboration diagram for log4cpp::LoggingEvent:
Public Methods | |
LoggingEvent (const std::string &category, const std::string &message, const std::string &ndc, Priority::Value priority) | |
Instantiate a LoggingEvent from the supplied parameters. More... | |
Public Attributes | |
const std::string | categoryName |
The category name. More... | |
const std::string | message |
The application supplied message of logging event. More... | |
const std::string | ndc |
The nested diagnostic context (NDC) of logging event. More... | |
Priority::Value | priority |
Priority of logging event. More... | |
const std::string | threadName |
The name of thread in which this logging event was generated, e.g. More... | |
TimeStamp | timeStamp |
The number of seconds elapsed since the epoch (1/1/1970 00:00:00 UTC) until logging event was created. More... |
When a affirmative logging decision is made a LoggingEvent
instance is created. This instance is passed around the different log4cpp components.
This class is of concern to those wishing to extend log4cpp.
|
Instantiate a LoggingEvent from the supplied parameters.
Except
|
|
The category name.
|
|
The application supplied message of logging event.
|
|
The nested diagnostic context (NDC) of logging event.
|
|
Priority of logging event.
|
|
The name of thread in which this logging event was generated, e.g. the PID. |
|
The number of seconds elapsed since the epoch (1/1/1970 00:00:00 UTC) until logging event was created.
|