Fully Qualified Name: | Zend\Log\Formatter\FormatterInterface |
Name | Description | Defined By |
---|---|---|
format() | Formats data into a single line to be written by the writer. | FormatterInterface |
getDateTimeFormat() | Get the format specifier for DateTime objects | FormatterInterface |
setDateTimeFormat() | Set the format specifier for DateTime objects | FormatterInterface |
Formats data into a single line to be written by the writer.
Parameter Name | Type | Description |
---|---|---|
$event | array | event |
Returns: string|array Either a formatted line to write to the log, or the updated event information to provide to the writer.
Get the format specifier for DateTime objects
Returns: string
Set the format specifier for DateTime objects
Parameter Name | Type | Description |
---|---|---|
$dateTimeFormat | string | DateTime |
Returns: \FormatterInterface