__construct()
format()
getDateTimeFormat()
setDateTimeFormat()
normalize()
$dateTimeFormat
$format
DEFAULT_DATETIME_FORMAT
DEFAULT_FORMAT
__construct(null | string $format, null | string $dateTimeFormat)
see | \Zend\Log\Formatter\http://php.net/manual/en/function.date.php |
---|
nullstring
Format specifier for log messages
nullstring
Format specifier for DateTime objects in event data
\Zend\Log\Exception\InvalidArgumentException |
---|
format(array $event) : string
array
event data
string
formatted line to write to the loggetDateTimeFormat() : string
inherited_from | \Zend\Log\Formatter\Base::getDateTimeFormat() |
---|
string
setDateTimeFormat(string $dateTimeFormat) : \Zend\Log\Formatter\FormatterInterface
inherited_from | \Zend\Log\Formatter\Base::setDateTimeFormat() |
---|
string
DateTime format
normalize(mixed $value) : mixed
inherited_from | \Zend\Log\Formatter\Base::normalize() |
---|
mixed
mixed
$dateTimeFormat : string
see | \Zend\Log\Formatter\http://php.net/manual/en/function.date.php |
---|---|
inherited_from | \Zend\Log\Formatter\Base::$$dateTimeFormat |
$format : string
DEFAULT_DATETIME_FORMAT
see | \Zend\Log\Formatter\http://php.net/manual/en/function.date.php |
---|---|
inherited_from | \Zend\Log\Formatter\FormatterInterface::DEFAULT_DATETIME_FORMAT |
inherited_from | \Zend\Log\Formatter\Base::DEFAULT_DATETIME_FORMAT |
DEFAULT_FORMAT