MediaWiki
1.33.0
|
CeeFormatter extends LogstashFormatter to prefix records with a "cee cookie". More...
Public Member Functions | |
format (array $record) | |
Format records with a cee cookie. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from MediaWiki\Logger\Monolog\LogstashFormatter | |
fixKeyConflicts (array $fields, array $context) | |
Check whether some context field would overwrite another message key. More... | |
formatV0 (array $record) | |
Prevent key conflicts. More... | |
formatV1 (array $record) | |
Prevent key conflicts. More... | |
normalizeException ( $e) | |
Use a more user-friendly trace format than NormalizerFormatter. More... | |
Protected Attributes inherited from MediaWiki\Logger\Monolog\LogstashFormatter | |
array | $reservedKeys |
Keys which should not be used in log context. More... | |
CeeFormatter extends LogstashFormatter to prefix records with a "cee cookie".
The cookie is used to tell JSON and non-JSON messages apart when logging to syslog. See also: https://www.rsyslog.com/doc/v8-stable/configuration/modules/mmjsonparse.html
Compatible with Monolog 1.x only.
Definition at line 14 of file CeeFormatter.php.
MediaWiki\Logger\Monolog\CeeFormatter::format | ( | array | $record | ) |
Format records with a cee cookie.
array | $record |
Definition at line 20 of file CeeFormatter.php.
References format.