|
ILIAS
release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
|
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.
| ||||
| format (array $record) | ||||
| Formats a log record. More... | ||||
| formatBatch (array $records) | ||||
| Formats a set of log records. More... | ||||
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 | |
Data Fields inherited from Monolog\Formatter\NormalizerFormatter | |
| const | SIMPLE_DATE = "Y-m-d H:i:s" |
Protected Member Functions inherited from Monolog\Formatter\NormalizerFormatter | |
| normalize ($data) | |
| normalizeException (Exception $e) | |
| toJson ($data, $ignoreErrors=false) | |
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 54 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 67 of file GelfMessageFormatter.php.
References Monolog\Formatter\NormalizerFormatter\toJson().
Here is the call graph for this function:
|
protected |
Definition at line 38 of file GelfMessageFormatter.php.
Referenced by Monolog\Formatter\GelfMessageFormatter\__construct().
|
protected |
Definition at line 33 of file GelfMessageFormatter.php.
Referenced by Monolog\Formatter\GelfMessageFormatter\__construct().
|
private |
Translates Monolog log levels to Graylog2 log priorities.
Definition at line 43 of file GelfMessageFormatter.php.
|
protected |
Definition at line 28 of file GelfMessageFormatter.php.
Referenced by Monolog\Formatter\GelfMessageFormatter\__construct().