Module: Ghaki::Logger::Mixin

Includes:
App::Mixable
Defined in:
lib/ghaki/logger/mixin.rb

Overview

Mixin used to add logger to your classes.

Usage

class MyClass

include Ghaki::Logger::Mixin
def do_something
  logger.step 'did something'
end

end

myobj = MyClass.new myobj.do_something