|
ILIAS
release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
|
Encodes message information into JSON in a format compatible with Loggly. More...
Inheritance diagram for Monolog\Formatter\LogglyFormatter:
Collaboration diagram for Monolog\Formatter\LogglyFormatter:Public Member Functions | ||||
| __construct ($batchMode=self::BATCH_MODE_NEWLINES, $appendNewline=false) | ||||
| Overrides the default batch mode to new lines for compatibility with the Loggly bulk API. More... | ||||
| format (array $record) | ||||
| Appends the 'timestamp' parameter for indexing by Loggly. More... | ||||
Public Member Functions inherited from Monolog\Formatter\JsonFormatter | ||||
| __construct ($batchMode=self::BATCH_MODE_JSON, $appendNewline=true) | ||||
| getBatchMode () | ||||
| The batch mode option configures the formatting style for multiple records. More... | ||||
| isAppendingNewlines () | ||||
| True if newlines are appended to every formatted record. More... | ||||
| 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... | ||||
Additional Inherited Members | |
Data Fields inherited from Monolog\Formatter\JsonFormatter | |
| const | BATCH_MODE_JSON = 1 |
| const | BATCH_MODE_NEWLINES = 2 |
Protected Member Functions inherited from Monolog\Formatter\JsonFormatter | |
| formatBatchJson (array $records) | |
| Return a JSON-encoded array of records. More... | |
| formatBatchNewlines (array $records) | |
| Use new lines to separate records instead of a JSON-encoded array. More... | |
Protected Attributes inherited from Monolog\Formatter\JsonFormatter | |
| $batchMode | |
| $appendNewline | |
Encodes message information into JSON in a format compatible with Loggly.
Definition at line 19 of file LogglyFormatter.php.
| Monolog\Formatter\LogglyFormatter::__construct | ( | $batchMode = self::BATCH_MODE_NEWLINES, |
|
$appendNewline = false |
|||
| ) |
Overrides the default batch mode to new lines for compatibility with the Loggly bulk API.
| integer | $batchMode |
Reimplemented from Monolog\Formatter\JsonFormatter.
Definition at line 27 of file LogglyFormatter.php.
References Monolog\Formatter\JsonFormatter\$appendNewline, and Monolog\Formatter\JsonFormatter\$batchMode.
| Monolog\Formatter\LogglyFormatter::format | ( | array | $record | ) |
Appends the 'timestamp' parameter for indexing by Loggly.
Reimplemented from Monolog\Formatter\JsonFormatter.
Definition at line 38 of file LogglyFormatter.php.