package Default

 Methods

Class constructor

__construct(null|string $dateTimeFormat = null
see

Parameters

$dateTimeFormat

nullstring

Format specifier for DateTime objects in event data

Formats data to be written by the writer.

format(array $event) : array
inherited_from \Zend\Log\Formatter\FormatterInterface::format()

Parameters

$event

array

event data

Returns

array

Get the format specifier for DateTime objects

getDateTimeFormat() 
inherited_from \Zend\Log\Formatter\FormatterInterface::getDateTimeFormat()

Set the format specifier for DateTime objects

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

Parameters

$dateTimeFormat

 Properties

 

Format specifier for DateTime objects in event data (default: ISO 8601)

$dateTimeFormat : string

Default

self::DEFAULT_DATETIME_FORMAT
see