__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 |
|---|
nullstringFormat specifier for log messages
nullstringFormat specifier for DateTime objects in event data
\Zend\Log\Exception\InvalidArgumentException |
|---|
format(array $event) : string
arrayevent data
stringformatted line to write to the loggetDateTimeFormat() : string
| inherited_from | \Zend\Log\Formatter\Base::getDateTimeFormat() |
|---|
stringsetDateTimeFormat(string $dateTimeFormat) : \Zend\Log\Formatter\FormatterInterface
| inherited_from | \Zend\Log\Formatter\Base::setDateTimeFormat() |
|---|
stringDateTime 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