Sha256: f346c350d9c85e5eaa90d45e91f21e90260c50d8a2b07a7e10d96006ceb6e78d
Contents?: true
Size: 406 Bytes
Versions: 82
Compression:
Stored size: 406 Bytes
Contents
module Ably::Models # When Log Level set to none, this NilLogger is used to silence all logging # NilLogger provides a Ruby Logger compatible interface class NilLogger def null_method(*args) end def level :none end def level=(value) level end [:fatal, :error, :warn, :info, :debug].each do |method| alias_method method, :null_method end end end
Version data entries
82 entries across 82 versions & 2 rubygems