ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Serializes a log message according to Wildfire's header requirements. More...
Public Member Functions | ||||
format (array $record) | ||||
{Formats a log record.
| ||||
formatBatch (array $records) | ||||
Formats a set of log records. More... | ||||
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... | ||||
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) | |
Protected Member Functions inherited from Monolog\Formatter\NormalizerFormatter | |
normalize ($data) | |
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 |
Implements Monolog\Formatter\FormatterInterface.
Definition at line 44 of file WildfireFormatter.php.
References $file, $message, $type, array, Monolog\Formatter\WildfireFormatter\normalize(), and Monolog\Formatter\NormalizerFormatter\toJson().
Monolog\Formatter\WildfireFormatter::formatBatch | ( | array | $records | ) |
Formats a set of log records.
array | $records | A set of records to format |
Implements Monolog\Formatter\FormatterInterface.
Definition at line 100 of file WildfireFormatter.php.
|
protected |
Definition at line 105 of file WildfireFormatter.php.
References $data.
Referenced by Monolog\Formatter\WildfireFormatter\format().
|
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\WildfireFormatterTest\testTableFormat().