![]() |
TYPO3
7.6
|
Public Member Functions | |
setShiftBackTraceLevel ($shiftBackTraceLevel) | |
setAppendFullBackTrace ($appendFullBackTrace) | |
processLogRecord (LogRecord $logRecord) | |
![]() | |
__construct (array $options=array()) | |
![]() | |
processLogRecord (\TYPO3\CMS\Core\Log\LogRecord $logRecord) | |
Protected Member Functions | |
shiftBacktraceLevel (array $backtrace) | |
getDebugBacktrace () | |
Protected Attributes | |
$appendFullBackTrace = false | |
$shiftBackTraceLevel = 0 | |
Private Attributes | |
$precedingBacktraceLine = '' | |
$precedingBacktraceFile = '' | |
Introspection processor to automatically add where the log record came from.
Definition at line 22 of file IntrospectionProcessor.php.
|
protected |
Get the debug backtrace
Definition at line 158 of file IntrospectionProcessor.php.
Referenced by IntrospectionProcessor\processLogRecord().
processLogRecord | ( | LogRecord | $logRecord | ) |
Add debug backtrace information to logRecord It adds: filepath, line number, class and function name
LogRecord | $logRecord | The log record to process |
Definition at line 86 of file IntrospectionProcessor.php.
References IntrospectionProcessor\$shiftBackTraceLevel, LogRecord\addData(), IntrospectionProcessor\getDebugBacktrace(), and IntrospectionProcessor\shiftBacktraceLevel().
setAppendFullBackTrace | ( | $appendFullBackTrace | ) |
Set if the full backtrace should be added to the log or just the last item
bool | $appendFullBackTrace | If the full backtrace should be added |
Definition at line 71 of file IntrospectionProcessor.php.
References IntrospectionProcessor\$appendFullBackTrace.
setShiftBackTraceLevel | ( | $shiftBackTraceLevel | ) |
Set the number of levels to be shift from the backtrace
int | $shiftBackTraceLevel | Numbers of levels to shift |
Definition at line 59 of file IntrospectionProcessor.php.
References IntrospectionProcessor\$shiftBackTraceLevel.
|
protected |
Shift the first item from the backtrace
array | $backtrace |
Definition at line 140 of file IntrospectionProcessor.php.
Referenced by IntrospectionProcessor\processLogRecord().
|
protected |
Definition at line 30 of file IntrospectionProcessor.php.
Referenced by IntrospectionProcessor\setAppendFullBackTrace().
|
private |
Definition at line 51 of file IntrospectionProcessor.php.
|
private |
Definition at line 44 of file IntrospectionProcessor.php.
|
protected |
Definition at line 37 of file IntrospectionProcessor.php.
Referenced by IntrospectionProcessor\processLogRecord(), and IntrospectionProcessor\setShiftBackTraceLevel().