Class Simple

Summary

Fully Qualified Name: Zend\Log\Formatter\Simple
Extends: Base

Description

Methods

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

Method Details

__construct()

Class constructor

Parameter Name Type Description
$format null|string Format
$dateTimeFormat null|string Format

Returns:

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