Class Json

Summary

Fully Qualified Name: Zend\Log\Formatter\Json
Implements: FormatterInterface

Description

Methods

Name Description Defined By
format() Formats data into a single line to be written by the writer. Json
getDateTimeFormat() {@inheritDoc} Json
setDateTimeFormat() {@inheritDoc} Json

Method Details

format()

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

Parameter Name Type Description
$event array event

Returns: string formatted line to write to the log

getDateTimeFormat()

{@inheritDoc}

Returns:

setDateTimeFormat()

{@inheritDoc}

Parameter Name Type Description
$dateTimeFormat

Returns:

Top