Class Backtrace

Summary

Fully Qualified Name: Laminas\Log\Processor\Backtrace
Implements: ProcessorInterface

Description

Methods

Name Description Defined By
__construct() Set options for a backtrace processor. Accepted options are: - ignoredNamespaces: array of namespaces to be excluded from the logged backtrace Backtrace
getIgnoredNamespaces() Get all ignored namespaces Backtrace
process() Adds the origin of the log() call to the event extras Backtrace

Method Details

__construct()

Set options for a backtrace processor. Accepted options are: - ignoredNamespaces: array of namespaces to be excluded from the logged backtrace

Parameter Name Type Description
$options array|null

Returns:

getIgnoredNamespaces()

Get all ignored namespaces

Returns: array

process()

Adds the origin of the log() call to the event extras

Parameter Name Type Description
$event array event

Returns: array event data

Top