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  : mixed

Methods

__construct()  : mixed
__invoke()  : array<string|int, mixed>
addTags()  : mixed
setTags()  : mixed

Properties

Methods

__construct()

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

__invoke()

public __invoke(array<string|int, mixed> $record) : array<string|int, mixed>
Parameters
$record : array<string|int, mixed>
Return values
array<string|int, mixed>

The processed records

addTags()

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

setTags()

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

        
On this page

Search results