\Monolog\HandlerFormattableHandlerTrait

Helper trait for implementing FormattableInterface

Summary

Methods
Properties
Constants
setFormatter()
getFormatter()
No public properties found
No constants found
getDefaultFormatter()
$formatter
N/A
No private methods found
No private properties found
N/A

Properties

$formatter

$formatter : \Monolog\Handler\?FormatterInterface

Type

\Monolog\Handler\?FormatterInterface

Methods

getFormatter()

getFormatter() 

{@inheritdoc}

getDefaultFormatter()

getDefaultFormatter() 

Gets the default formatter.

Overwrite this if the LineFormatter is not a good default for your handler.