module LogStashLogger::TaggedLogging

Shamelessly copied from ActiveSupport::TaggedLogging

Public Instance Methods

flush() click to toggle source
Calls superclass method
# File lib/logstash-logger/tagged_logging.rb, line 8
def flush
  formatter.clear_tags!
  super if defined?(super)
end
tagged(*tags) { |self| ... } click to toggle source
# File lib/logstash-logger/tagged_logging.rb, line 4
def tagged(*tags)
  formatter.tagged(*tags) { yield self }
end