ILIAS
release_5-1 Revision 5.0.0-5477-g43f3e3fab5
|
Serializes a log message to GELF. More...
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.
| ||||
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 |
Implements Monolog\Formatter\FormatterInterface.
Definition at line 67 of file GelfMessageFormatter.php.
References Monolog\Formatter\NormalizerFormatter\toJson().
|
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().