Module: RSpeed::Logger

Defined in:
lib/rspeed/logger.rb

Class Method Summary collapse

Class Method Details

.log(context, method, message) ⇒ Object



7
8
9
10
11
# File 'lib/rspeed/logger.rb', line 7

def log(context, method, message)
  clazz = context.ancestors.join('::')

  puts("[#{clazz}##{method}.#{RSpeed::Env.pipe}] #{message}")
end