Sha256: f8fd8ab9ee81ad1be93deb38979179e9ff9e27ec801fc0234f969021ac8ad222

Contents?: true

Size: 260 Bytes

Versions: 5

Compression:

Stored size: 260 Bytes

Contents

require 'logger'


module Firebase

  def self.logger=(logger)
    @logger = logger
  end

  def self.logger
    @logger ||= NullLogger.new()
  end

  class NullLogger < Logger

    def initialize(*args)
    end

    def add(*args, &block)
    end

  end

end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
firebase-ruby-0.3.1 lib/firebase-ruby/logger.rb
firebase-ruby-0.3.0 lib/firebase-ruby/logger.rb
firebase-ruby-0.2.0.1 lib/firebase-ruby/logger.rb
firebase-ruby-0.1.0 lib/firebase-ruby/logger.rb
firebase-ruby-0.0.2 lib/firebase-ruby/logger.rb