Module: DataLogger

Defined in:
lib/datalogger.rb,
lib/datalogger/logger.rb,
lib/datalogger/version.rb,
lib/datalogger/sinks/stdout.rb

Defined Under Namespace

Modules: Sinks Classes: Logger

Constant Summary collapse

VERSION =
"0.0.5"

Instance Method Summary collapse

Instance Method Details

#log(data, &blk) ⇒ Object



6
7
8
# File 'lib/datalogger.rb', line 6

def log(data, &blk)
  Logger.global_logger.log(data, &blk)          
end