mimi-logger 0.2.3 → 0.2.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '08802d5b0a249e93a152ad6e55b97dac5f90235815621cf4e184f98f4579f8b0'
4
- data.tar.gz: 0ed0db974edfae6ac95a1cbd4d3ad44328c1e2c77013598dc41811b5c83d0dba
3
+ metadata.gz: c1a4d234d7ff7d1231bb2c24daac286cc13aaf9e6d77988e4ebf99cf3f3cf8a5
4
+ data.tar.gz: 4c81afc027953e82bc377b9a275d4250ada710061791af70fd924a0900fa00d5
5
5
  SHA512:
6
- metadata.gz: fd0d2e2ff59c4389a4cc0bbde0e594d1bb73a7931df7137b9e31126b42f884ed473747473fe18540721dd93fd670ffed38c6cfe299a97052081eec5a68fe0322
7
- data.tar.gz: a6ba83b28d31f0586dd1c151fb944315d0d192abf44799c50206544e0ae869897baa5c4f9d392ee6861b57fb22668af4745bbfd9a5d2bc505308f743898ddf92
6
+ metadata.gz: 36919d88c2a3a4772a47fcaf19df27adbc7ef083e64407afb1273b9d6f3a686c5ce5b80a6f1c97adabbe53cd396ce7e21ed61061f2c33861ee0117fa5d8ba72d
7
+ data.tar.gz: 6f110b492e0646d95906144a0b5c4c9d007bc20b82894c10ad03100c54189781867f76106e083ee6f5144955e56004e9f155e0969a3d7d9f646d1f48b1b74b4e
data/lib/mimi/logger.rb CHANGED
@@ -160,7 +160,7 @@ module Mimi
160
160
  h = formatter_message_args_to_hash(message)
161
161
  h[:c] = context_id if options[:log_context]
162
162
  h[:s] = severity.to_s[0]
163
- h.to_json + "\n"
163
+ JSON.dump(h) + "\n"
164
164
  end
165
165
  end
166
166
 
@@ -1,5 +1,5 @@
1
1
  module Mimi
2
2
  class Logger
3
- VERSION = '0.2.3'.freeze
3
+ VERSION = '0.2.4'.freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mimi-logger
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alex Kukushkin