$level
$level : int
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.
$level : int
$bubble : bool
$logger : \Psr\Log\LoggerInterface
PSR-3 compliant logger
$formatter : \Monolog\Formatter\FormatterInterface|null
__construct(\Psr\Log\LoggerInterface $logger, mixed $level = Logger::DEBUG, bool $bubble = true) : mixed
\Psr\Log\LoggerInterface | $logger | The underlying PSR-3 compliant logger to which messages will be proxied |
mixed | $level | The minimum logging level at which this handler will be triggered |
bool | $bubble | Whether the messages that are handled can bubble up the stack or not |