class LoggerDataCollector extends DataCollector implements LateDataCollectorInterface

LogDataCollector.

Methods

serialize()

No description

unserialize($data)

No description

__construct($logger = null)

No description

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

Collects data for the given Request and Response.

lateCollect()

Collects data as late as possible.

array
countErrors()

Gets the called events.

array
getLogs()

Gets the logs.

getPriorities()

No description

countDeprecations()

No description

countScreams()

No description

string
getName()

Returns the name of the collector.

Details

in DataCollector at line line 33
serialize()

in DataCollector at line line 38
unserialize($data)

Parameters

$data

at line line 45
__construct($logger = null)

Parameters

$logger

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

Collects data for the given Request and Response.

Parameters

Request $request A Request instance
Response $response A Response instance
Exception $exception An Exception instance

at line line 63
lateCollect()

Collects data as late as possible.

at line line 78
array countErrors()

Gets the called events.

Return Value

array An array of called events

See also

TraceableEventDispatcherInterface

at line line 88
array getLogs()

Gets the logs.

Return Value

array An array of logs

at line line 93
getPriorities()

at line line 98
countDeprecations()

at line line 103
countScreams()

at line line 111
string getName()

Returns the name of the collector.

Return Value

string The collector name