DOKK / manpages / debian 12 / liblog4tango-doc / log4tango::LoggingEvent.3.en
log4tango::LoggingEvent(3) log4tango log4tango::LoggingEvent(3)

log4tango::LoggingEvent - The internal representation of logging events.

#include <LoggingEvent.hh>


LoggingEvent (const std::string &logger, const std::string &message, Level::Value level)
Instantiate a LoggingEvent from the supplied parameters. LoggingEvent (const LoggingEvent &event)
Copy constructor.


const std::string logger_name
The logger name. const std::string message
The application supplied message of logging event. Level::Value level
Level of logging event. std::string thread_name
Name of thread in which this logging event was generated. long thread_id
id of thread in which this logging event was generated TimeStamp timestamp
The number of seconds elapsed since the epoch (1/1/1970 00:00:00 UTC) until logging event was created.

The internal representation of logging events.

When a affirmative logging decision is made a LoggingEvent instance is created. This instance is passed around the different log4tango components.

This class is of concern to those wishing to extend log4tango.

Instantiate a LoggingEvent from the supplied parameters. Except timeStamp all the other fields of LoggingEvent are filled when actually needed.

Parameters

logger The logger of this event.
message The message of this event.
level The level of this event.

Copy constructor.

Level::Value log4tango::LoggingEvent::level

Level of logging event.

The logger name.

The application supplied message of logging event.

id of thread in which this logging event was generated

Name of thread in which this logging event was generated.

TimeStamp log4tango::LoggingEvent::timestamp

The number of seconds elapsed since the epoch (1/1/1970 00:00:00 UTC) until logging event was created.

Generated automatically by Doxygen for log4tango from the source code.

Fri Nov 11 2022 Version 5.0.2