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

Inject backtrace stack into the record. More...

Public Member Functions

 __construct ($level=Logger::WARNING, $backtrace_level=-1)
 Constructor. More...
 
 __invoke (array $record)
 Process recrod. More...
 

Detailed Description

Inject backtrace stack into the record.

Definition at line 10 of file BacktraceProcessor.php.

Constructor & Destructor Documentation

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

Constructor.

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

Definition at line 21 of file BacktraceProcessor.php.

Member Function Documentation

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

Process recrod.

Parameters
array$recordRecord
Returns
array

Definition at line 33 of file BacktraceProcessor.php.


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