format()
format(array $record) : mixed
Formats a log record.
Parameters
array | $record | A record to format |
Returns
mixed —The formatted record
Encodes whatever record data is passed to it as json
This can be useful to log to databases or remote APIs
Loading…