Methods

Formats the given event data into a single line to be written by the writer.

format(array $event) : string

Parameters

$event

array

The event data which should be formatted.

Returns

string

This method is implemented for FormatterInterface but not used.

getDateTimeFormat() : string

Returns

string

This method is implemented for FormatterInterface but not used.

setDateTimeFormat(string $dateTimeFormat) : \Zend\Log\Formatter\FormatterInterface

Parameters

$dateTimeFormat

string

Returns

 Constants

 

Default format specifier for DateTime objects is ISO 8601

DEFAULT_DATETIME_FORMAT 
Inherited

see \Zend\Log\Formatter\http://php.net/manual/en/function.date.php
inherited_from \Zend\Log\Formatter\FormatterInterface::DEFAULT_DATETIME_FORMAT