Logger added log levels public

This commit is contained in:
OpenXE 2024-06-28 15:48:39 +02:00
parent eead996759
commit 448d49ad6d

View File

@ -10,6 +10,15 @@ use Xentral\Components\Logger\Handler\LogHandlerInterface;
final class Logger extends AbstractLogger final class Logger extends AbstractLogger
{ {
const EMERGENCY = 'emergency';
const ALERT = 'alert';
const CRITICAL = 'critical';
const ERROR = 'error';
const WARNING = 'warning';
const NOTICE = 'notice';
const INFO = 'info';
const DEBUG = 'debug';
/** @var LogHandlerInterface[] $levelHandlers */ /** @var LogHandlerInterface[] $levelHandlers */
private $logHandlers; private $logHandlers;