ContextProcessor

Type
Class
Namespace
craft\log
Inherits
craft\log\ContextProcessor
Implements
Monolog\Processor\ProcessorInterface
Since
4.0.0

Class ContextProcessor

View source (opens new window)

# Protected Properties

Property Description
key
vars

# key

Default value
'context'

View source (opens new window)

# vars

Default value
[]

View source (opens new window)

# Public Methods

Method Description
__construct()
__invoke()

# __construct()

View source (opens new window)

Arguments

# __invoke()

View source (opens new window)

Arguments

  • $record

# Protected Methods

Method Description
filterVars()

# filterVars()

View source (opens new window)

Arguments

  • $vars