Class: Btape::NullLogger

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

Overview

Stands in when no logger was given, so the rest of the code can log unconditionally. Only the three levels btape uses are defined, and any Logger — Rails' included — can be passed instead.

Instance Method Summary collapse

Instance Method Details

#debugObject



8
# File 'lib/btape/null_logger.rb', line 8

def debug(*); end

#infoObject



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

def info(*); end

#warnObject



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

def warn(*); end