Class: OneApm::Logger::NullLogger

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

Instance Method Summary collapse

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missing(method, *args, &blk) ⇒ Object



12
13
14
# File 'lib/one_apm/logger/null_logger.rb', line 12

def method_missing(method, *args, &blk)
  nil
end

Instance Method Details

#debug(*args) ⇒ Object



10
# File 'lib/one_apm/logger/null_logger.rb', line 10

def debug(*args); end

#error(*args) ⇒ Object



7
# File 'lib/one_apm/logger/null_logger.rb', line 7

def error(*args); end

#fatal(*args) ⇒ Object



6
# File 'lib/one_apm/logger/null_logger.rb', line 6

def fatal(*args); end

#info(*args) ⇒ Object



9
# File 'lib/one_apm/logger/null_logger.rb', line 9

def info(*args);  end

#warn(*args) ⇒ Object



8
# File 'lib/one_apm/logger/null_logger.rb', line 8

def warn(*args);  end