JsonStackFormatter
extends JsonFormatter
Table of Contents
-
$includeStacktraces
: bool
-
$source
: mixed
-
__construct()
: mixed
-
format()
: string
$includeStacktraces
protected
bool
$includeStacktraces
= true
$source
protected
mixed
$source
__construct()
public
__construct([int $batchMode = self::BATCH_MODE_JSON ][, bool $appendNewline = true ][, string $source = 'default' ]) : mixed
Parameters
-
$batchMode
: int
= self::BATCH_MODE_JSON
-
-
$appendNewline
: bool
= true
-
-
$source
: string
= 'default'
-
Return values
mixed
—
public
format(array<string|int, mixed>|LogRecord $record) : string
Parameters
-
$record
: array<string|int, mixed>|LogRecord
-
Return values
string
—