ContextProcessor ​
- Type
- Class
- Namespace
- craft\log
- Inherits
- craft\log\ContextProcessor
- Implements
Monolog\Processor\ProcessorInterface
- Since
- 4.0.0
Class ContextProcessor
Protected Properties ​
Property | Description |
---|---|
dumpVars | |
vars |
dumpVars
​
- Default value
false
vars
​
- Default value
[]
Public Methods ​
Method | Description |
---|---|
__construct() | |
__invoke() |
__construct()
​
Arguments ​
$vars
(array) – The global variables to include {@see \yii\log\Target::$logVars}$dumpVars
(boolean) – Whether to dump vars as a readable, multi-line string in the message
__invoke()
​
Arguments ​
$record
Protected Methods ​
Method | Description |
---|---|
dumpVars() | |
filterVars() |
dumpVars()
​
Arguments ​
$vars
filterVars()
​
Arguments ​
$vars