Sha256: d5eae74149823874598a5b58f8db4379b2ae90f79a80371168395dd22ce30616

Contents?: true

Size: 176 Bytes

Versions: 1

Compression:

Stored size: 176 Bytes

Contents

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

  def log(log)
    self.message = log
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
semantic_logger-4.2.0 test/in_memory_appender.rb