module Opsmgr::Loggable
Public Class Methods
included(other_module)
click to toggle source
# File lib/opsmgr/log.rb, line 19 def self.included(other_module) def other_module.log @logger ||= LoggerWithProgName.new(name) end end
Public Instance Methods
log()
click to toggle source
# File lib/opsmgr/log.rb, line 15 def log @logger ||= LoggerWithProgName.new(self.class.name) end