Class: TingYun::Logger::NullLogger

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



26
27
28
# File 'lib/ting_yun/logger/null_logger.rb', line 26

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

Instance Method Details

#debug(*args) ⇒ Object



22
23
24
# File 'lib/ting_yun/logger/null_logger.rb', line 22

def debug(*args)
  ;
end

#error(*args) ⇒ Object



10
11
12
# File 'lib/ting_yun/logger/null_logger.rb', line 10

def error(*args)
  ;
end

#fatal(*args) ⇒ Object



6
7
8
# File 'lib/ting_yun/logger/null_logger.rb', line 6

def fatal(*args)
  ;
end

#info(*args) ⇒ Object



18
19
20
# File 'lib/ting_yun/logger/null_logger.rb', line 18

def info(*args)
  ;
end

#warn(*args) ⇒ Object



14
15
16
# File 'lib/ting_yun/logger/null_logger.rb', line 14

def warn(*args)
  ;
end