SIMPLE_DATE
SIMPLE_DATE = "Y-m-d\\TH:i:sP"
Formats incoming records into a one-line string
This is especially useful for logging to files
$dateFormat : string
$maxNormalizeDepth : int
$maxNormalizeItemCount : int
$format : string
$allowInlineLineBreaks : bool
$ignoreEmptyContextAndExtra : bool
$includeStacktraces : bool
$stacktracesParser : ?callable
$jsonEncodeOptions : int
__construct(string|null $format = null, string|null $dateFormat = null, bool $allowInlineLineBreaks = false, bool $ignoreEmptyContextAndExtra = false, bool $includeStacktraces = false) : mixed
string|null | $format | The format of the message |
string|null | $dateFormat | The format of the timestamp: one supported by DateTime::format |
bool | $allowInlineLineBreaks | Whether to allow inline line breaks in log entries |
bool | $ignoreEmptyContextAndExtra | |
bool | $includeStacktraces |