category Zend
package Zend_Log

 Methods

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

format(array $event) : string

Parameters

$event

array

event data

Returns

stringformatted line to write to the log

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

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

Parameters

$dateTimeFormat

string

DateTime format

Returns

 Constants

 

Default format specifier for DateTime objects is ISO 8601

DEFAULT_DATETIME_FORMAT 

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