\Monolog\ProcessorIntrospectionProcessor

Injects line/file:class/function where the log message came from

Warning: This only works if the handler processes the logs directly. If you put the processor on a handler that is behind a FingersCrossedHandler for example, the processor will only be called once the trigger level is reached, and all the log records will have the same file/line/.. data from the call that triggered the FingersCrossedHandler.

Summary

Methods
Properties
Constants
__construct()
__invoke()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
isTraceClassOrSkippedFunction()
$level
$skipClassesPartials
$skipStackFramesCount
$skipFunctions
N/A

Properties

$level

$level : 

Type

$skipClassesPartials

$skipClassesPartials : 

Type

$skipStackFramesCount

$skipStackFramesCount : 

Type

$skipFunctions

$skipFunctions : 

Type

Methods

__construct()

__construct(  $level = \Monolog\Logger::DEBUG, array  $skipClassesPartials = array(),   $skipStackFramesCount) 

Parameters

$level
array $skipClassesPartials
$skipStackFramesCount

__invoke()

__invoke(array  $record) : array

Parameters

array $record

Returns

array

isTraceClassOrSkippedFunction()

isTraceClassOrSkippedFunction(array  $trace,   $index) 

Parameters

array $trace
$index