The internal representation of logging event.
Located in /spi/LoggerLoggingEvent.php (line 33)
The category (logger) name.
This field will be marked as private in future releases. Please do not access it directly. Use the getLoggerName() method instead.
Level of logging event.
This field should not be accessed directly. You shoud use the getLevel() method instead.
Have we tried to do an MDC lookup? If we did, there is no need to do it again. Note that its value is always false when serialized. See also the getMDC and getMDCCopy methods.
Have we tried to do an NDC lookup? If we did, there is no need to do it again. Note that its value is always false when serialized. Thus, a receiving SocketNode will never use it's own (incorrect) NDC. See also writeObject method.
The application supplied message rendered through the log4php objet rendering mechanism. At present renderedMessage == message.
The name of thread in which this logging event was generated.
log4php saves here the process id via getmypid()
The number of seconds elapsed from 1/1/1970 until logging event was created plus microseconds if available.
Returns the time when the application started, in seconds elapsed since 01.01.1970 plus microseconds if available.
Instantiate a LoggingEvent from the supplied parameters.
Except $timeStamp all the other fields of LoggerLoggingEvent are filled when actually needed.
Return the level of this event. Use this form instead of directly accessing the $level field.
Set the location information for this logging event. The collected information is cached for future use.
This method uses debug_backtrace() function (if exists) to collect informations about caller.
It only recognize informations generated by Logger and its subclasses.
Return the name of the logger. Use this form instead of directly accessing the $categoryName field.
Returns the the context corresponding to the
parameter.Return the message for this logging event.
Before serialization, the returned object is the message passed by the user to generate the logging event. After serialization, the returned value equals the String form of the message possibly after object rendering.
This method returns the NDC for this event. It will return the correct content even if the event was generated in a different thread or even on a different machine. The LoggerNDC::get() method should never be called directly.
Render message.
Serialize this object
Avoid serialization of the $logger object
Documentation generated by phpDocumentor 1.3.2