class LoggerDataCollector extends DataCollector implements LateDataCollectorInterface

LogDataCollector.

Methods

serialize()

No description

unserialize($data)

No description

__construct($logger = null, string $containerPathPrefix = null)

No description

collect(Request $request, Response $response, Exception $exception = null)

Collects data for the given Request and Response.

reset()

Resets this data collector to its initial state.

lateCollect()

Collects data as late as possible.

array
getLogs()

Gets the logs.

getPriorities()

No description

countErrors()

No description

countDeprecations()

No description

countWarnings()

No description

countScreams()

No description

getCompilerLogs()

No description

string
getName()

Returns the name of the collector.

Details

in DataCollector at line line 37
serialize()

in DataCollector at line line 42
unserialize($data)

Parameters

$data

at line line 29
__construct($logger = null, string $containerPathPrefix = null)

Parameters

$logger
string $containerPathPrefix

at line line 41
collect(Request $request, Response $response, Exception $exception = null)

Collects data for the given Request and Response.

Parameters

Request $request
Response $response
Exception $exception

at line line 49
reset()

Resets this data collector to its initial state.

at line line 60
lateCollect()

Collects data as late as possible.

at line line 76
array getLogs()

Gets the logs.

Return Value

array An array of logs

at line line 81
getPriorities()

at line line 86
countErrors()

at line line 91
countDeprecations()

at line line 96
countWarnings()

at line line 101
countScreams()

at line line 106
getCompilerLogs()

at line line 114
string getName()

Returns the name of the collector.

Return Value

string The collector name