You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: cli.rb
    path of file: ./repos/sentry-ruby/sentry-raven/lib/raven
    
    the code of the file until where you have to start completion: module Raven
  class CLI
    def self.test(dsn = nil, silent = false, config = nil)
      config ||= Raven.configuration

      config.logger = if silent
                 
    
    def self.test(dsn = nil, silent = false, config = nil)
      config ||= Raven.configuration

      config.logger = if silent
                        ::Logger.new(nil)
                      else
                        logger = ::Logger.new(STDOUT)
                        logger.formatter = proc do |_severity, _datetime, _progname, msg|
                          "-> #{msg}\n"
                        end
                        logger
                      end