Module: Conrad

Defined in:
lib/conrad.rb,
lib/conrad/errors.rb,
lib/conrad/version.rb,
lib/conrad/emitters.rb,
lib/conrad/recorder.rb,
lib/conrad/collector.rb,
lib/conrad/formatters.rb,
lib/conrad/processors.rb,
lib/conrad/emitters/sqs.rb,
lib/conrad/emitter_queue.rb,
lib/conrad/emitters/stdout.rb,
lib/conrad/formatters/json.rb,
lib/conrad/processor_stack.rb,
lib/conrad/emitters/kinesis.rb,
lib/conrad/processors/add_uuid.rb,
lib/conrad/processors/envelope.rb,
lib/conrad/emitters/amazon_base.rb,
lib/conrad/processors/add_timestamp.rb

Overview

:nodoc:

Defined Under Namespace

Modules: Emitters, Formatters, Processors Classes: Collector, EmitterQueue, Error, ForbiddenKey, ForbiddenValue, InvalidAwsCredentials, ProcessorStack, Recorder

Constant Summary collapse

VERSION =

:nodoc:

'3.0.0'.freeze

Class Method Summary collapse

Class Method Details

.background_emit=(value) ⇒ Object



21
22
23
# File 'lib/conrad.rb', line 21

def background_emit=(value)
  EmitterQueue.instance.background = value
end

.background_emit?Boolean

Boolean indicating if the events collected should be emitted in the background. Defaults to false.

Returns:

  • (Boolean)


17
18
19
# File 'lib/conrad.rb', line 17

def background_emit?
  EmitterQueue.instance.background
end