private function dependencyDefs()
    {
        return [
            Logger::class => function () {
                $level = $this->getCfgValue('deasilworks.log.level', 10);

                $gelfHandler = new GelfHandler(
                    new Publisher(
                        new UdpTransport(
                            $this->getCfgValue('deasilworks.log.host', '4klift-graylog'),
                            $this->getCfgValue('deasilworks.log.port', 12201)
                        )
                    ),
                    $level
                );

                $nullHandler = new NullHandler($level);

                $logger = new Logger($this->getCfgValue('deasilworks.log.name', '4klift'));

                $wfgh = new WhatFailureGroupHandler([
                    $gelfHandler,
                    $nullHandler,
                ]);

                $logger->pushHandler($wfgh);

                return $logger;
            },
            CFG::class => function () {
                return $this->config->getCfg();
            },
        ];
    }