|
ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Serializes a log message according to Wildfire's header requirements. More...
Inheritance diagram for Monolog\Formatter\WildfireFormatter:
Collaboration diagram for Monolog\Formatter\WildfireFormatter:Public Member Functions | ||||
| format (array $record) | ||||
{{Formats a log record.
| ||||
| formatBatch (array $records) | ||||
{{Formats a set of log records.
| ||||
Public Member Functions inherited from Monolog\Formatter\NormalizerFormatter | ||||
| __construct ($dateFormat=null) | ||||
| format (array $record) | ||||
{Formats a log record.
| ||||
| formatBatch (array $records) | ||||
{Formats a set of log records.
| ||||
| detectAndCleanUtf8 (&$data) | ||||
| Detect invalid UTF-8 string characters and convert to valid UTF-8. More... | ||||
| format (array $record) | ||||
| Formats a log record. More... | ||||
| formatBatch (array $records) | ||||
| Formats a set of log records. More... | ||||
Data Fields | |
| const | TABLE = 'table' |
Data Fields inherited from Monolog\Formatter\NormalizerFormatter | |
| const | SIMPLE_DATE = "Y-m-d H:i:s" |
Protected Member Functions | |
| normalize ($data, $depth=0) | |
Protected Member Functions inherited from Monolog\Formatter\NormalizerFormatter | |
| normalize ($data, $depth=0) | |
| normalizeException ($e) | |
| toJson ($data, $ignoreErrors=false) | |
| Return the JSON representation of a value. More... | |
Private Attributes | |
| $logLevels | |
| Translates Monolog log levels to Wildfire levels. More... | |
Additional Inherited Members | |
Protected Attributes inherited from Monolog\Formatter\NormalizerFormatter | |
| $dateFormat | |
Serializes a log message according to Wildfire's header requirements.
Definition at line 23 of file WildfireFormatter.php.
| Monolog\Formatter\WildfireFormatter::format | ( | array | $record | ) |
{{Formats a log record.
| array | $record | A record to format |
Reimplemented from Monolog\Formatter\NormalizerFormatter.
Definition at line 44 of file WildfireFormatter.php.
References $message, $type, Monolog\Formatter\WildfireFormatter\normalize(), Monolog\Formatter\WildfireFormatter\TABLE, and Monolog\Formatter\NormalizerFormatter\toJson().
Here is the call graph for this function:| Monolog\Formatter\WildfireFormatter::formatBatch | ( | array | $records | ) |
{{Formats a set of log records.
| array | $records | A set of records to format |
Reimplemented from Monolog\Formatter\NormalizerFormatter.
Definition at line 100 of file WildfireFormatter.php.
|
protected |
Reimplemented from Monolog\Formatter\NormalizerFormatter.
Definition at line 105 of file WildfireFormatter.php.
References $data, and Sabre\Uri\normalize().
Referenced by Monolog\Formatter\WildfireFormatter\format().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Translates Monolog log levels to Wildfire levels.
Definition at line 30 of file WildfireFormatter.php.
| const Monolog\Formatter\WildfireFormatter::TABLE = 'table' |
Definition at line 25 of file WildfireFormatter.php.
Referenced by Monolog\Formatter\WildfireFormatter\format(), and Monolog\Formatter\WildfireFormatterTest\testTableFormat().