795. Function

795.1. Zend\Log\Formatter\format

ZendLogFormatterformat()

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

Parameters:array – event data
Return type:string formatted line to write to the log

796. Function

796.1. Zend\Log\Formatter\getDateTimeFormat

ZendLogFormattergetDateTimeFormat()

Get the format specifier for DateTime objects

Return type:string

797. Function

797.1. Zend\Log\Formatter\setDateTimeFormat

ZendLogFormattersetDateTimeFormat()

Set the format specifier for DateTime objects

Parameters:string – DateTime format
Return type:FormatterInterface

797.1.1. DEFAULT_DATETIME_FORMAT

Default format specifier for DateTime objects is ISO 8601

Project Versions

Table Of Contents

Previous topic

794. Class

Next topic

798. Class

This Page