Sha256: 311cab927fd7ce2085d4745e3f832ed4162473e0d0b4acd77db85c28731ff4fd
Contents?: true
Size: 238 Bytes
Versions: 5
Compression:
Stored size: 238 Bytes
Contents
require 'bundler/setup' require 'semlogr' Semlogr.logger = Semlogr::Logger.create do |c| c.write_to :console end Semlogr.info('Customer {id} checked out', id: 123) Semlogr.error('Failed to save data', error: StandardError.new('foo'))
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
semlogr-0.3.0 | samples/basic.rb |
semlogr-0.2.3 | samples/basic.rb |
semlogr-0.2.2 | samples/basic.rb |
semlogr-0.2.1 | samples/basic.rb |
semlogr-0.2.0 | samples/basic.rb |