public function addNewHandler(array $handlerInfos)
    {
        $this->checkHandlerInfos($handlerInfos);
        
        $handlerClassName = $handlerInfos['name'];
        $handler          = new $handlerClassName(...$handlerInfos['args']);
        
        $this->handlers[] = $handler;
        $this->logger->pushHandler($handler);
    }