class LoggerDataCollector extends DataCollector
LogDataCollector.
Methods
| __construct($logger = null) | ||
|
collect(Request $request, Response $response, Exception $exception = null)
Collects data for the given Request and Response. |
||
| array |
countErrors()
Gets the called events. |
|
| array |
getLogs()
Gets the logs. |
|
| countDeprecations() | ||
| string |
getName()
Returns the name of the collector. |
Details
at line 28
public
__construct($logger = null)
at line 38
public
collect(Request $request, Response $response, Exception $exception = null)
Collects data for the given Request and Response.
at line 56
public array
countErrors()
Gets the called events.
at line 66
public array
getLogs()
Gets the logs.
at line 71
public
countDeprecations()
at line 79
public string
getName()
Returns the name of the collector.