module Logged::TaggedLogging
Tagged logging support
Public Instance Methods
flush()
click to toggle source
# File lib/logged/tagged_logging.rb, line 14 def flush current_tags.clear end
tagged(*tags) { |self| ... }
click to toggle source
# File lib/logged/tagged_logging.rb, line 6 def tagged(*tags) new_tags = push_tags(*tags) yield self ensure pop_tags(new_tags.size) end