Elgg  Version master
Public Member Functions | List of all members
Elgg\Logger\BacktraceProcessor Class Reference

Inject backtrace stack into the record. More...

Public Member Functions

 __construct ($level=Level::Warning, $backtrace_level=-1)
 Constructor. More...
 
 __invoke (LogRecord $record)
 Process record. More...
 

Detailed Description

Inject backtrace stack into the record.

Definition at line 12 of file BacktraceProcessor.php.

Constructor & Destructor Documentation

Elgg\Logger\BacktraceProcessor::__construct (   $level = Level::Warning,
  $backtrace_level = -1 
)

Constructor.

Parameters
int$levelLogging level
int$backtrace_levelBacktrance level (-1 for all)

Definition at line 24 of file BacktraceProcessor.php.

Member Function Documentation

Elgg\Logger\BacktraceProcessor::__invoke ( LogRecord  $record)

Process record.

Parameters
LogRecord$recordRecord
Returns
LogRecord

Definition at line 36 of file BacktraceProcessor.php.


The documentation for this class was generated from the following file: