|
ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Serializes a log message to GELF. More...
Inheritance diagram for Monolog\Formatter\GelfMessageFormatter:
Collaboration diagram for Monolog\Formatter\GelfMessageFormatter:Public Member Functions | ||||
| __construct ($systemName=null, $extraPrefix=null, $contextPrefix='ctxt_') | ||||
| format (array $record) | ||||
{{Formats a log record.
| ||||
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 | MAX_LENGTH = 32766 |
Data Fields inherited from Monolog\Formatter\NormalizerFormatter | |
| const | SIMPLE_DATE = "Y-m-d H:i:s" |
Protected Attributes | |
| $systemName | |
| $extraPrefix | |
| $contextPrefix | |
Protected Attributes inherited from Monolog\Formatter\NormalizerFormatter | |
| $dateFormat | |
Private Attributes | |
| $logLevels | |
| Translates Monolog log levels to Graylog2 log priorities. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from Monolog\Formatter\NormalizerFormatter | |
| normalize ($data) | |
| normalizeException ($e) | |
| toJson ($data, $ignoreErrors=false) | |
| Return the JSON representation of a value. More... | |
Serializes a log message to GELF.
Definition at line 23 of file GelfMessageFormatter.php.
| Monolog\Formatter\GelfMessageFormatter::__construct | ( | $systemName = null, |
|
$extraPrefix = null, |
|||
$contextPrefix = 'ctxt_' |
|||
| ) |
Definition at line 56 of file GelfMessageFormatter.php.
References Monolog\Formatter\GelfMessageFormatter\$contextPrefix, Monolog\Formatter\GelfMessageFormatter\$extraPrefix, and Monolog\Formatter\GelfMessageFormatter\$systemName.
| Monolog\Formatter\GelfMessageFormatter::format | ( | array | $record | ) |
{{Formats a log record.
| array | $record | A record to format |
Reimplemented from Monolog\Formatter\NormalizerFormatter.
Definition at line 69 of file GelfMessageFormatter.php.
References $key, $message, and Monolog\Formatter\NormalizerFormatter\toJson().
Here is the call graph for this function:
|
protected |
Definition at line 40 of file GelfMessageFormatter.php.
Referenced by Monolog\Formatter\GelfMessageFormatter\__construct().
|
protected |
Definition at line 35 of file GelfMessageFormatter.php.
Referenced by Monolog\Formatter\GelfMessageFormatter\__construct().
|
private |
Translates Monolog log levels to Graylog2 log priorities.
Definition at line 45 of file GelfMessageFormatter.php.
|
protected |
Definition at line 30 of file GelfMessageFormatter.php.
Referenced by Monolog\Formatter\GelfMessageFormatter\__construct().
| const Monolog\Formatter\GelfMessageFormatter::MAX_LENGTH = 32766 |
Definition at line 25 of file GelfMessageFormatter.php.