Sha256: f89a179c8e47779a7f34668f9af2db5199bae7fa93bdc34a0a9b08c0a6e7c236

Contents?: true

Size: 265 Bytes

Versions: 2

Compression:

Stored size: 265 Bytes

Contents

module BBQueue
  class FatalLogger
    def initialize(logger)
      @logger = logger
    end

    def debug(*args); end
    def info(*args); end
    def warn(*args); end
    def error(*args); end

    def fatal(*args)
      @logger.error(*args)
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
bbqueue-0.0.2 lib/bbqueue/fatal_logger.rb
bbqueue-0.0.1 lib/bbqueue/fatal_logger.rb