Documentation

TagProcessor
in package
implements ProcessorInterface

Adds a tags array into record

Tags
author

Martijn Riemers

Table of Contents

Interfaces

ProcessorInterface
An optional interface to allow labelling Monolog processors.

Properties

$tags  : array<string|int, string>

Methods

__construct()  : mixed
__invoke()  : LogRecord
addTags()  : $this
setTags()  : $this

Properties

Methods

__construct()

public __construct([array<string|int, string> $tags = [] ]) : mixed
Parameters
$tags : array<string|int, string> = []

addTags()

public addTags([array<string|int, string> $tags = [] ]) : $this
Parameters
$tags : array<string|int, string> = []
Return values
$this

setTags()

public setTags([array<string|int, string> $tags = [] ]) : $this
Parameters
$tags : array<string|int, string> = []
Return values
$this

        
On this page

Search results