module IORequest::Utility::WithProgName
Adds special method to identify object in log files.
Public Instance Methods
prog_name()
click to toggle source
Identifies object and thread it runs in.
# File lib/io_request/utility/with_prog_name.rb, line 9 def prog_name "#{self.class.name}##{object_id} in Thread##{Thread.current.object_id}" end