\Monolog\HandlerFormattableHandlerInterface

Interface to describe loggers that have a formatter

Summary

Methods
Constants
setFormatter()
getFormatter()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

setFormatter()

setFormatter(\Monolog\Formatter\FormatterInterface  $formatter) : \Monolog\Handler\HandlerInterface

Sets the formatter.

Parameters

\Monolog\Formatter\FormatterInterface $formatter

Returns

\Monolog\Handler\HandlerInterface —

self

getFormatter()

getFormatter() : \Monolog\Formatter\FormatterInterface

Gets the formatter.

Returns

\Monolog\Formatter\FormatterInterface —