Loggability::LogClient::
InstanceMethods
module
Stuff that gets added to instances of Classes that are log clients.
Unset the logger proxy for copies of the logged object.
def initialize_copy( other )
super
@__log = nil
end
Delegate to the class’s logger.
def log
@__log ||= Loggability[ self.class ].proxy_for( self )
end
Fetch the key of the log host the instance of this client targets
def log_host_key
return self.class.log_host_key
end