\Monolog\FormatterFormatterInterface

Interface for formatters

Summary

Methods
Constants
format()
formatBatch()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

format()

format(array  $record) : mixed

Formats a log record.

Parameters

array $record

A record to format

Returns

mixed —

The formatted record

formatBatch()

formatBatch(array  $records) : mixed

Formats a set of log records.

Parameters

array $records

A set of records to format

Returns

mixed —

The formatted set of records