Module: Arrow::Loggable

Included in:
AcceptParam, AppletRegistry, AppletTestCase, Cache, FormValidator, Object, Path, Service
Defined in:
lib/arrow/mixins.rb

Overview

A mixin that adds a #log method to including classes that calls Arrow::Logger with the class of the receiving object.

Usage

require “arrow/mixins”

class MyClass

include Arrow::Loggable

def some_method
  self.log.debug "A debugging message"
end

end