61 lines
1 KiB
YAML
61 lines
1 KiB
YAML
name: DebugLoggerInterface
|
|
class_comment: null
|
|
dependencies:
|
|
- name: Request
|
|
type: class
|
|
source: Symfony\Component\HttpFoundation\Request
|
|
properties: []
|
|
methods:
|
|
- name: getLogs
|
|
visibility: public
|
|
parameters:
|
|
- name: request
|
|
default: 'null'
|
|
comment: '# * DebugLoggerInterface.
|
|
|
|
# *
|
|
|
|
# * @author Fabien Potencier <fabien@symfony.com>
|
|
|
|
# */
|
|
|
|
# interface DebugLoggerInterface
|
|
|
|
# {
|
|
|
|
# /**
|
|
|
|
# * Returns an array of logs.
|
|
|
|
# *
|
|
|
|
# * @return array<array{
|
|
|
|
# * channel: ?string,
|
|
|
|
# * context: array<string, mixed>,
|
|
|
|
# * message: string,
|
|
|
|
# * priority: int,
|
|
|
|
# * priorityName: string,
|
|
|
|
# * timestamp: int,
|
|
|
|
# * timestamp_rfc3339: string,
|
|
|
|
# * }>'
|
|
- name: countErrors
|
|
visibility: public
|
|
parameters:
|
|
- name: request
|
|
default: 'null'
|
|
comment: '# * Returns the number of errors.'
|
|
- name: clear
|
|
visibility: public
|
|
parameters: []
|
|
comment: '# * Removes all log records.'
|
|
traits:
|
|
- Symfony\Component\HttpFoundation\Request
|
|
interfaces: []
|