Class: D13n::Logger::NullLogger

Inherits:
Object
  • Object
show all
Includes:
Singleton
Defined in:
lib/d13n/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



11
12
13
# File 'lib/d13n/logger/null_logger.rb', line 11

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

Instance Method Details

#debug(*args) ⇒ Object



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

def debug(*args); end

#error(*args) ⇒ Object



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

def error(*args); end

#fatal(*args) ⇒ Object



5
# File 'lib/d13n/logger/null_logger.rb', line 5

def fatal(*args); end

#info(*args) ⇒ Object



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

def info(*args);  end

#warn(*args) ⇒ Object



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

def warn(*args);  end