Class: Auther::NullLogger

Inherits:
Object
  • Object
show all
Defined in:
lib/auther/null_logger.rb

Overview

The default logger which purposefully does nothing at all.

Instance Method Summary collapse

Constructor Details

#initialize(_parameters) ⇒ NullLogger

rubocop:disable Style/RedundantInitialize



7
8
# File 'lib/auther/null_logger.rb', line 7

def initialize _parameters
end

Instance Method Details

#debug(_message) ⇒ Object



23
24
# File 'lib/auther/null_logger.rb', line 23

def debug _message
end

#error(_message) ⇒ Object



17
18
# File 'lib/auther/null_logger.rb', line 17

def error _message
end

#fatal(_message) ⇒ Object



20
21
# File 'lib/auther/null_logger.rb', line 20

def fatal _message
end

#info(_message) ⇒ Object

rubocop:enable Style/RedundantInitialize



11
12
# File 'lib/auther/null_logger.rb', line 11

def info _message
end

#warn(_message) ⇒ Object



14
15
# File 'lib/auther/null_logger.rb', line 14

def warn _message
end