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: kernel_logger.rb
    path of file: ./repos/geocoder/lib/geocoder
    
    the code of the file until where you have to start completion: module Geocoder
  class KernelLogger
    include Singleton

    def add(level
    
    def add(level, message)
      return unless log_message_at_level?(level)
      case level
        when ::Logger::DEBUG, ::Logger::INFO
          puts message
        when ::Logger::WARN
          warn message
        when ::Logger::ERROR
          raise message
        when ::Logger::FATAL
          fail message
      end