Class: EventTracer::BufferedLogger

Inherits:
Object
  • Object
show all
Defined in:
lib/event_tracer/buffered_logger.rb

Direct Known Subclasses

DynamoDB::Logger

Instance Method Summary collapse

Constructor Details

#initialize(log_processor:, worker:, buffer: Buffer.new(buffer_size: 0)) ⇒ BufferedLogger

Returns a new instance of BufferedLogger.



7
8
9
10
11
# File 'lib/event_tracer/buffered_logger.rb', line 7

def initialize(log_processor:, worker:, buffer: Buffer.new(buffer_size: 0))
  @buffer = buffer
  @worker = worker
  @log_processor = log_processor
end