module Treequel::Loggable
Add logging to a Treequel
class. Including classes get log and log_debug methods.
Public Class Methods
included( mod )
click to toggle source
Inclusion callback – extend including modules with Loggability instead for backward-compatibility.
# File lib/treequel/mixins.rb, line 153 def self::included( mod ) mod.extend( Loggability ) mod.log_to( :treequel ) end