public static function getChannel(array $config = []): Channel
    {
        $channel = new Channel();
        $channel->setHandler(static::getHandler($config['handler'] ?? []));
        $channel->setFormatter(static::getFormatter($config['formatter'] ?? []));

        return $channel;
    }