def configure_buffering( opts )
      ::Logging.init unless ::Logging.initialized?

      self.immediate_at  = opts.fetch(:immediate_at, '')
      self.auto_flushing = opts.fetch(:auto_flushing, true)
      self.flush_period  = opts.fetch(:flush_period, nil)
      self.async         = opts.fetch(:async, false)
      self.write_size    = opts.fetch(:write_size, DEFAULT_BUFFER_SIZE)
    end
def configure_buffering( opts )
      ::Logging.init unless ::Logging.initialized?

      self.immediate_at  = opts.fetch(:immediate_at, '')
      self.auto_flushing = opts.fetch(:auto_flushing, true)
      self.flush_period  = opts.fetch(:flush_period, nil)
      self.async         = opts.fetch(:async, false)
      self.write_size    = opts.fetch(:write_size, DEFAULT_BUFFER_SIZE)
    end
Configure the buffering using the arguments found in the give options
 hash. This method must be called in order to use the message buffer.
 The supported options are "immediate_at" and "auto_flushing". Please
 refer to the documentation for those methods to see the allowed
 options.