|
ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Formats a record for use with the MongoDBHandler. More...
Inheritance diagram for Monolog\Formatter\MongoDBFormatter:
Collaboration diagram for Monolog\Formatter\MongoDBFormatter:Public Member Functions | ||||
| __construct ($maxNestingLevel=3, $exceptionTraceAsString=true) | ||||
| 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 Member Functions | |
| formatArray (array $record, $nestingLevel=0) | |
| formatObject ($value, $nestingLevel) | |
| formatException (\Exception $exception, $nestingLevel) | |
| formatDate (\DateTime $value, $nestingLevel) | |
Private Attributes | |
| $exceptionTraceAsString | |
| $maxNestingLevel | |
Formats a record for use with the MongoDBHandler.
Definition at line 21 of file MongoDBFormatter.php.
| Monolog\Formatter\MongoDBFormatter::__construct | ( | $maxNestingLevel = 3, |
|
$exceptionTraceAsString = true |
|||
| ) |
| int | $maxNestingLevel | 0 means infinite nesting, the $record itself is level 1, $record['context'] is 2 |
| bool | $exceptionTraceAsString | set to false to log exception traces as a sub documents instead of strings |
Definition at line 30 of file MongoDBFormatter.php.
References Monolog\Formatter\MongoDBFormatter\$exceptionTraceAsString, and Monolog\Formatter\MongoDBFormatter\$maxNestingLevel.
| Monolog\Formatter\MongoDBFormatter::format | ( | array | $record | ) |
Formats a log record.
| array | $record | A record to format |
Implements Monolog\Formatter\FormatterInterface.
Definition at line 39 of file MongoDBFormatter.php.
References Monolog\Formatter\MongoDBFormatter\formatArray().
Referenced by Monolog\Formatter\MongoDBFormatter\formatBatch().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 56 of file MongoDBFormatter.php.
References $name, Monolog\Formatter\MongoDBFormatter\formatArray(), Monolog\Formatter\MongoDBFormatter\formatDate(), Monolog\Formatter\MongoDBFormatter\formatException(), and Monolog\Formatter\MongoDBFormatter\formatObject().
Referenced by Monolog\Formatter\MongoDBFormatter\format(), Monolog\Formatter\MongoDBFormatter\formatArray(), Monolog\Formatter\MongoDBFormatter\formatException(), and Monolog\Formatter\MongoDBFormatter\formatObject().
Here is the call graph for this function:
Here is the caller graph for this function:| Monolog\Formatter\MongoDBFormatter::formatBatch | ( | array | $records | ) |
Formats a set of log records.
| array | $records | A set of records to format |
Implements Monolog\Formatter\FormatterInterface.
Definition at line 47 of file MongoDBFormatter.php.
References $key, $records, and Monolog\Formatter\MongoDBFormatter\format().
Here is the call graph for this function:
|
protected |
Definition at line 103 of file MongoDBFormatter.php.
Referenced by Monolog\Formatter\MongoDBFormatter\formatArray().
Here is the caller graph for this function:
|
protected |
Definition at line 85 of file MongoDBFormatter.php.
References Monolog\Formatter\MongoDBFormatter\formatArray(), and Monolog\Utils\getClass().
Referenced by Monolog\Formatter\MongoDBFormatter\formatArray().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 77 of file MongoDBFormatter.php.
References Monolog\Formatter\MongoDBFormatter\formatArray(), and Monolog\Utils\getClass().
Referenced by Monolog\Formatter\MongoDBFormatter\formatArray().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 23 of file MongoDBFormatter.php.
Referenced by Monolog\Formatter\MongoDBFormatter\__construct().
|
private |
Definition at line 24 of file MongoDBFormatter.php.
Referenced by Monolog\Formatter\MongoDBFormatter\__construct().