Add logging to a Inversion class. Including classes get log and log_debug methods.
class MyClass
include Inversion::Loggable
def a_method
self.log.debug "Doing a_method stuff..."
end
end
Copy constructor -- clear the original's log proxy.
# File lib/inversion/mixins.rb, line 67 def initialize_copy( original ) @log_proxy = @log_debug_proxy = nil super end
Generated with the Darkfish Rdoc Generator 2.