protected function init(Manager $evtManager)
    {
        $this->evtManager = $evtManager;
        $events = $this->evtManager->getDebugEvents();
        foreach ($events as $event) {
            $this->evtManager->addHandler($event, [$this, 'handler']);
        }
        $this->evtManager->addHandler(
            ':updateLogRegistry:', [$this, 'onUpdateRegistry']
        );
    }