Methods

testConstruct()

testConstruct() 

testFormat()

testFormat() 

testFormatBatch()

testFormatBatch() 

testFormatBatchNewlines()

testFormatBatchNewlines() 

testDefFormatWithException()

testDefFormatWithException() 

testDefFormatWithPreviousException()

testDefFormatWithPreviousException() 

testDefFormatWithThrowable()

testDefFormatWithThrowable() 

getRecord()

getRecord(  $level = \Monolog\Logger::WARNING,   $message = 'test',   $context = array()) : array

Parameters

$level
$message
$context

Returns

array —

Record

getMultipleRecords()

getMultipleRecords() : array

Returns

array

getIdentityFormatter()

getIdentityFormatter() : \Monolog\Monolog\Formatter\FormatterInterface

Returns

\Monolog\Monolog\Formatter\FormatterInterface

formatRecordWithExceptionInContext()

formatRecordWithExceptionInContext(\Monolog\Formatter\JsonFormatter  $formatter, \Exception|\Throwable  $exception) : string

Parameters

\Monolog\Formatter\JsonFormatter $formatter
\Exception|\Throwable $exception

Returns

string

formatExceptionFilePathWithLine()

formatExceptionFilePathWithLine(\Exception|\Throwable  $exception) : string

Parameters

\Exception|\Throwable $exception

Returns

string

formatException()

formatException(\Exception|\Throwable  $exception, null|string  $previous = null) : string

Parameters

\Exception|\Throwable $exception
null|string $previous

Returns

string