public function initEventLogger()
    {
        $dispatcher = static::getEventDispatcher();

        $logger = $this->newEventLogger();

        $dispatcher->listen('Adldap\Auth\Events\*', function ($eventName, $events) use ($logger) {
            foreach ($events as $event) {
                $logger->auth($event);
            }
        });

        $dispatcher->listen('Adldap\Models\Events\*', function ($eventName, $events) use ($logger) {
            foreach ($events as $event) {
                $logger->model($event);
            }
        });
    }