Sha256: bf70164432b09d95ad55902a84c50f079c7862dd80bb4b78fef8bfe47decc3c3

Contents?: true

Size: 184 Bytes

Versions: 4

Compression:

Stored size: 184 Bytes

Contents

# Store in memory the last log message received.
class InMemoryBatchAppender < SemanticLogger::Subscriber
  attr_accessor :message

  def batch(logs)
    self.message = logs
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
semantic_logger-4.3.1 test/in_memory_batch_appender.rb
semantic_logger-4.3.0 test/in_memory_batch_appender.rb
semantic_logger-4.2.2 test/in_memory_batch_appender.rb
semantic_logger-4.2.1 test/in_memory_batch_appender.rb