\Monolog\ProcessorTagProcessor

Adds a tags array into record

Summary

Methods
Properties
Constants
__construct()
addTags()
setTags()
__invoke()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$tags
N/A

Properties

$tags

$tags : string[]

Type

string[]

Methods

__construct()

__construct(string[]  $tags = []) : mixed

Parameters

string[] $tags

Returns

mixed —

addTags()

addTags(string[]  $tags = []) : self

Parameters

string[] $tags

Returns

self —

setTags()

setTags(string[]  $tags = []) : self

Parameters

string[] $tags

Returns

self —

__invoke()

__invoke(array  $record) : array

Parameters

array $record

Returns

array —

The processed record