Monolog\Handler\NullHandler
Blackhole
Any record it can handle will be thrown away. This can be used
to put on top of an existing stack to override it temporarily.
- Author: Jordi Boggiano <j.boggiano@seld.be>
Synopsis
class NullHandler
extends AbstractHandler
{
- // Inherited members from AbstractHandler
- protected $level;
- protected $bubble;
- protected FormatterInterface $formatter;
- protected array $processors;
- // methods
- public void __construct()
- public void handle()
- // Inherited methods from AbstractHandler
- public void __construct()
- public void isHandling()
- public void handleBatch()
- public void close()
- public void pushProcessor()
- public void popProcessor()
- public void setFormatter()
- public void getFormatter()
- public void setLevel()
- public integer getLevel()
- public void setBubble()
- public Boolean getBubble()
- public void __destruct()
- protected FormatterInterface getDefaultFormatter()
Hierarchy
Extends
Members
protected
- $bubble
- $formatter — Monolog\Formatter\FormatterInterface
- $level
- $processors
Methods
public
- __construct()
- handle() — {@inheritdoc}
Inherited from Monolog\Handler\AbstractHandler
protected
- getDefaultFormatter() — Gets the default formatter.
public
- close() — Closes the handler.
- getBubble() — Gets the bubbling behavior.
- getFormatter() — {@inheritdoc}
- getLevel() — Gets minimum logging level at which this handler will be triggered.
- handleBatch() — {@inheritdoc}
- isHandling() — {@inheritdoc}
- popProcessor() — {@inheritdoc}
- pushProcessor() — {@inheritdoc}
- setBubble() — Sets the bubbling behavior.
- setFormatter() — {@inheritdoc}
- setLevel() — Sets minimum logging level at which this handler will be triggered.