class Protobuf::CLI

def configure_logger

Setup the protobuf logger.
def configure_logger
  debug_say 'Configuring logger'
  ::Protobuf::Logger.configure({ :file => options.log || STDOUT,
                                 :level => options.debug? ? ::Logger::DEBUG : options.level })
  # Debug output the server options to the log file.
  ::Protobuf::Logger.debug { 'Debugging options:' }
  ::Protobuf::Logger.debug { options.inspect }
end