class Evrone::CI::Common::TaggedLogging::Formatter
Constants
- Format
Public Instance Methods
call(severity, time, progname, msg)
click to toggle source
# File lib/evrone/ci/common/tagged_logging.rb, line 13 def call(severity, time, progname, msg) Format % [format_datetime(time), severity[0...1], msg2str("#{tags_text}#{msg}")] end
tagged(*tags) { |self| ... }
click to toggle source
# File lib/evrone/ci/common/tagged_logging.rb, line 23 def tagged(*tags) new_tags = push_tags(*tags) yield self ensure pop_tags(new_tags.size) end
thread_id()
click to toggle source
# File lib/evrone/ci/common/tagged_logging.rb, line 19 def thread_id Thread.current.object_id end