lib/semantic_logger/processor.rb
# Returns [Appender::Async => SemanticLogger::Processor] the global instance of this processor
# wrapped in the Async proxy so that all logging is asynchronous in a thread of its own.
#
# More than one instance can be created if needed.
Returns [Appender::Async => SemanticLogger::Processor] the global instance of this processor
wrapped in the Async proxy so that all logging is asynchronous in a thread of its own.

More than one instance can be created if needed.
Returns [ Appender :: Async = > SemanticLogger :: Processor ] the global instance of this processor wrapped in the Async proxy so that all logging is asynchronous in a thread of its own . More than one instance can be created if needed .
def close
      SemanticLogger.appenders.each do |appender|
        begin
          logger.trace "Appender thread: Closing appender: #{appender.name}"
          appender.flush
          appender.close
          SemanticLogger.remove_appender(appender)
        rescue Exception => exc
          logger.error "Appender thread: Failed to close appender: #{appender.inspect}", exc
        end
      end
      logger.trace 'Appender thread: All appenders closed and removed from appender list'
    end
def close SemanticLogger . appenders . each do | appender | begin logger . trace "Appender thread: Closing appender: #{appender.name}" appender . flush appender . close SemanticLogger . remove_appender ( appender ) rescue Exception => exc logger . error "Appender thread: Failed to close appender: #{appender.inspect}" , exc end end logger . trace 'Appender thread: All appenders closed and removed from appender list' end
Returns [Appender::Async => SemanticLogger::Processor] the global instance of this processor
wrapped in the Async proxy so that all logging is asynchronous in a thread of its own.
Returns [ Appender :: Async = > SemanticLogger :: Processor ] the global instance of this processor wrapped in the Async proxy so that all logging is asynchronous in a thread of its own .