Class: Gelauto::NullLogger

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

Instance Method Summary collapse

Constructor Details

#initializeNullLogger

Returns a new instance of NullLogger.



5
6
7
# File 'lib/gelauto/null_logger.rb', line 5

def initialize(*)
  super(File.open(File::NULL, 'w'))
end

Instance Method Details

#debugObject



9
# File 'lib/gelauto/null_logger.rb', line 9

def debug(*); end

#errorObject



12
# File 'lib/gelauto/null_logger.rb', line 12

def error(*); end

#fatalObject



13
# File 'lib/gelauto/null_logger.rb', line 13

def fatal(*); end

#infoObject



10
# File 'lib/gelauto/null_logger.rb', line 10

def info(*); end

#warnObject



11
# File 'lib/gelauto/null_logger.rb', line 11

def warn(*); end