|
ILIAS
release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
|
Formats incoming records into a one-line string. More...
Inheritance diagram for Monolog\Formatter\LineFormatter:
Collaboration diagram for Monolog\Formatter\LineFormatter:Public Member Functions | ||||
| __construct ($format=null, $dateFormat=null, $allowInlineLineBreaks=false, $ignoreEmptyContextAndExtra=false) | ||||
| includeStacktraces ($include=true) | ||||
| allowInlineLineBreaks ($allow=true) | ||||
| ignoreEmptyContextAndExtra ($ignore=true) | ||||
| format (array $record) | ||||
{{Formats a log record.
| ||||
| formatBatch (array $records) | ||||
{{Formats a set of log records.
| ||||
| stringify ($value) | ||||
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... | ||||
Data Fields | |
| const | SIMPLE_FORMAT = "[%datetime%] %channel%.%level_name%: %message% %context% %extra%\n" |
Data Fields inherited from Monolog\Formatter\NormalizerFormatter | |
| const | SIMPLE_DATE = "Y-m-d H:i:s" |
Protected Member Functions | |
| normalizeException (Exception $e) | |
| convertToString ($data) | |
| replaceNewlines ($str) | |
Protected Member Functions inherited from Monolog\Formatter\NormalizerFormatter | |
| normalize ($data) | |
| normalizeException (Exception $e) | |
| toJson ($data, $ignoreErrors=false) | |
Protected Attributes | |
| $format | |
| $allowInlineLineBreaks | |
| $ignoreEmptyContextAndExtra | |
| $includeStacktraces | |
Protected Attributes inherited from Monolog\Formatter\NormalizerFormatter | |
| $dateFormat | |
Formats incoming records into a one-line string.
This is especially useful for logging to files
Definition at line 24 of file LineFormatter.php.
| Monolog\Formatter\LineFormatter::__construct | ( | $format = null, |
|
$dateFormat = null, |
|||
$allowInlineLineBreaks = false, |
|||
$ignoreEmptyContextAndExtra = false |
|||
| ) |
| string | $format | The format of the message |
| string | $dateFormat | The format of the timestamp: one supported by DateTime::format |
| bool | $allowInlineLineBreaks | Whether to allow inline line breaks in log entries |
| bool | $ignoreEmptyContextAndExtra |
Definition at line 39 of file LineFormatter.php.
References Monolog\Formatter\LineFormatter\$allowInlineLineBreaks, Monolog\Formatter\NormalizerFormatter\$dateFormat, Monolog\Formatter\LineFormatter\$format, Monolog\Formatter\LineFormatter\$ignoreEmptyContextAndExtra, Monolog\Formatter\LineFormatter\allowInlineLineBreaks(), Monolog\Formatter\LineFormatter\format(), and Monolog\Formatter\LineFormatter\ignoreEmptyContextAndExtra().
Here is the call graph for this function:| Monolog\Formatter\LineFormatter::allowInlineLineBreaks | ( | $allow = true | ) |
Definition at line 55 of file LineFormatter.php.
References Monolog\Formatter\LineFormatter\allowInlineLineBreaks().
Referenced by Monolog\Formatter\LineFormatter\__construct(), Monolog\Formatter\LineFormatter\allowInlineLineBreaks(), Monolog\Formatter\LineFormatter\includeStacktraces(), and Monolog\Formatter\LineFormatter\replaceNewlines().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 134 of file LineFormatter.php.
References $data, and Monolog\Formatter\NormalizerFormatter\toJson().
Referenced by Monolog\Formatter\LineFormatter\stringify().
Here is the call graph for this function:
Here is the caller graph for this function:| Monolog\Formatter\LineFormatter::format | ( | array | $record | ) |
{{Formats a log record.
| array | $record | A record to format |
Reimplemented from Monolog\Formatter\NormalizerFormatter.
Reimplemented in ilLineFormatter.
Definition at line 68 of file LineFormatter.php.
References Monolog\Formatter\LineFormatter\$format, and Monolog\Formatter\LineFormatter\ignoreEmptyContextAndExtra().
Referenced by Monolog\Formatter\LineFormatter\__construct(), and Monolog\Formatter\LineFormatter\formatBatch().
Here is the call graph for this function:
Here is the caller graph for this function:| Monolog\Formatter\LineFormatter::formatBatch | ( | array | $records | ) |
{{Formats a set of log records.
| array | $records | A set of records to format |
Reimplemented from Monolog\Formatter\NormalizerFormatter.
Definition at line 102 of file LineFormatter.php.
References $records, and Monolog\Formatter\LineFormatter\format().
Here is the call graph for this function:| Monolog\Formatter\LineFormatter::ignoreEmptyContextAndExtra | ( | $ignore = true | ) |
Definition at line 60 of file LineFormatter.php.
References $ignore, and Monolog\Formatter\LineFormatter\ignoreEmptyContextAndExtra().
Referenced by Monolog\Formatter\LineFormatter\__construct(), Monolog\Formatter\LineFormatter\format(), and Monolog\Formatter\LineFormatter\ignoreEmptyContextAndExtra().
Here is the call graph for this function:
Here is the caller graph for this function:| Monolog\Formatter\LineFormatter::includeStacktraces | ( | $include = true | ) |
Definition at line 47 of file LineFormatter.php.
References Monolog\Formatter\LineFormatter\allowInlineLineBreaks(), and Monolog\Formatter\LineFormatter\includeStacktraces().
Referenced by Monolog\Formatter\LineFormatter\includeStacktraces(), and Monolog\Formatter\LineFormatter\normalizeException().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Reimplemented from Monolog\Formatter\NormalizerFormatter.
Definition at line 117 of file LineFormatter.php.
References Monolog\Formatter\LineFormatter\includeStacktraces().
Here is the call graph for this function:
|
protected |
Definition at line 151 of file LineFormatter.php.
References Monolog\Formatter\LineFormatter\allowInlineLineBreaks().
Referenced by Monolog\Formatter\LineFormatter\stringify().
Here is the call graph for this function:
Here is the caller graph for this function:| Monolog\Formatter\LineFormatter::stringify | ( | $value | ) |
Definition at line 112 of file LineFormatter.php.
References Monolog\Formatter\LineFormatter\convertToString(), and Monolog\Formatter\LineFormatter\replaceNewlines().
Here is the call graph for this function:
|
protected |
Definition at line 29 of file LineFormatter.php.
Referenced by Monolog\Formatter\LineFormatter\__construct().
|
protected |
Definition at line 28 of file LineFormatter.php.
Referenced by Monolog\Formatter\LineFormatter\__construct(), and Monolog\Formatter\LineFormatter\format().
|
protected |
Definition at line 30 of file LineFormatter.php.
Referenced by Monolog\Formatter\LineFormatter\__construct().
|
protected |
Definition at line 31 of file LineFormatter.php.
| const Monolog\Formatter\LineFormatter::SIMPLE_FORMAT = "[%datetime%] %channel%.%level_name%: %message% %context% %extra%\n" |
Definition at line 26 of file LineFormatter.php.