log4cpp::LoggingEvent - Online Linux Manual PageSection : 3
Updated : 4 Aug 2014
Source : Version 1.0
Note : log4cpp

NAMElog4cpp::LoggingEvent − The internal representation of logging events.

SYNOPSIS
#include <LoggingEvent.hh>

Public Member FunctionsLoggingEvent (const std::string &category, const std::string &message, const std::string &ndc, Priority::Value priority)
Instantiate a LoggingEvent from the supplied parameters.

Public Attributesconst std::string categoryName
The category name.
const std::string message
The application supplied message of logging event.
const std::string ndc
The nested diagnostic context (NDC) of logging event.
Priority::Value priority
Priority of logging event.
const std::string threadName
The name of thread in which this logging event was generated, e.g.
TimeStamp timeStamp
The number of seconds elapsed since the epoch (1/1/1970 00:00:00 UTC) until logging event was created.

Detailed DescriptionThe internal representation of logging events. 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.

Constructor & Destructor Documentation

log4cpp::LoggingEvent::LoggingEvent (const std::string & category, const std::string & message, const std::string & ndc, Priority::Value priority)Instantiate a LoggingEvent from the supplied parameters. Except timeStamp all the other fields of LoggingEvent are filled when actually needed. Parameters: category The category of this event.
message The message of this event.
ndc The nested diagnostic context of this event.
priority The priority of this event.

Member Data Documentation

const std::string log4cpp::LoggingEvent::categoryNameThe category name.

const std::string log4cpp::LoggingEvent::messageThe application supplied message of logging event.

const std::string log4cpp::LoggingEvent::ndcThe nested diagnostic context (NDC) of logging event.

Priority::Value log4cpp::LoggingEvent::priorityPriority of logging event.

const std::string log4cpp::LoggingEvent::threadNameThe name of thread in which this logging event was generated, e.g. the PID.

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

AuthorGenerated automatically by Doxygen for log4cpp from the source code.
0
Johanes Gumabo
Data Size   :   13,591 byte
man-log4cpp::LoggingEvent.3Build   :   2024-12-05, 20:55   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   2 / 192,041
Visitor ID   :     :  
Visitor IP   :   13.59.58.68   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36

Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.