Inherits LoggerLoggingEvent.
Public Member Functions | |
| __construct ($fqcn, $logger, \LoggerLevel $level, $message, $timeStamp=null, $throwable=null) | |
| getLocationInformation () | |
| __construct | ( | $fqcn, | |
| $logger, | |||
| \LoggerLevel | $level, | ||
| $message, | |||
$timeStamp = null, |
|||
$throwable = null |
|||
| ) |
Instantiate a LoggingEvent from the supplied parameters.
Except $timeStamp all the other fields of LoggerLoggingEvent are filled when actually needed.
| string | $fqcn | name of the caller class. |
| mixed | $logger | The Logger category of this event or the logger name. |
| LoggerLevel | $level | The level of this event. |
| mixed | $message | The message of this event. |
| integer | $timeStamp | the timestamp of this logging event. |
| Exception | $throwable | The throwable associated with logging event |
| getLocationInformation | ( | ) |
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.