Class: Ably::Models::NilLogger

Inherits:
Object
  • Object
show all
Defined in:
lib/ably/models/nil_logger.rb

Overview

When Log Level set to none, this NilLogger is used to silence all logging NilLogger provides a Ruby Logger compatible interface

Instance Method Summary collapse

Instance Method Details

#levelObject



8
9
10
# File 'lib/ably/models/nil_logger.rb', line 8

def level
  :none
end

#level=(value) ⇒ Object



12
13
14
# File 'lib/ably/models/nil_logger.rb', line 12

def level=(value)
  level
end

#null_method(*args) ⇒ Object



5
6
# File 'lib/ably/models/nil_logger.rb', line 5

def null_method(*args)
end