Methods

This method formats the event for the PHP Exception

format(array $event) : string

Parameters

$event

array

Returns

string

Get the format specifier for DateTime objects

getDateTimeFormat() : string

Returns

string

Set the format specifier for DateTime objects

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

Parameters

$dateTimeFormat

string

DateTime format

Returns

Get the type of a function

getType(string $type) : string

Parameters

$type

string

Returns

string

 Properties

 

Format specifier for DateTime objects in event data

$dateTimeFormat : string

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

 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