Proxies log messages to an existing PSR-3 compliant logger.

If a formatter is configured, the formatter's output MUST be a string and the
formatted message will be fed to the wrapped PSR logger instead of the original
log record's message.

public __construct(Psr\Log\LoggerInterface $logger, $level = 100, bool $bubble = true)

    public Monolog\Handler\Handler::__destruct()
    public Monolog\Handler\Handler::__sleep()
    public Monolog\Handler\Handler::close() : void

    public Monolog\Handler\AbstractHandler::getBubble() : bool
    Gets the bubbling behavior.

    • return bool true means that this handler allows bubbling. false means that bubbling is not permitted.
    public getFormatter() : Monolog\Formatter\FormatterInterface
    Gets the formatter.

    • return FormatterInterface
    public Monolog\Handler\AbstractHandler::getLevel() : int
    Gets minimum logging level at which this handler will be triggered.

    • return int
    public handle(array $record) : bool

    public Monolog\Handler\Handler::handleBatch(array $records) : void

    public Monolog\Handler\AbstractHandler::isHandling(array $record) : bool

    public Monolog\Handler\AbstractHandler::reset()
    public Monolog\Handler\AbstractHandler::setBubble(bool $bubble) : self
    Sets the bubbling behavior.

    • return self
    public setFormatter(Monolog\Formatter\FormatterInterface $formatter) : Monolog\Handler\HandlerInterface
    Sets the formatter.

      public Monolog\Handler\AbstractHandler::setLevel( $level) : self
      Sets minimum logging level at which this handler will be triggered.

      • return self
      protected Monolog\Handler\AbstractHandler::$bubble
      protected $formatter

      • var FormatterInterface|null
      protected Monolog\Handler\AbstractHandler::$level
      protected $logger
      PSR-3 compliant logger

      • var LoggerInterface
      © 2020 Bruce Wells
      Search Namespaces \ Classes
      ConfigurationNumbers (0-9.) only