Class: EventTracer::BufferedLogger
- Inherits:
-
Object
- Object
- EventTracer::BufferedLogger
- Defined in:
- lib/event_tracer/buffered_logger.rb
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(log_processor:, worker:, buffer: Buffer.new(buffer_size: 0)) ⇒ BufferedLogger
constructor
A new instance of BufferedLogger.
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 |