mimi-logger 0.2.1 → 0.2.2

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: fc1a61b8b50fe78090ba13f5e6c84f492e2477d3b787bf309e31e45b53bcc552
4
- data.tar.gz: 4135fb3a61883a0bfb507a5fd753497bc2fb251f7c30f35ca2beff912b6a63d9
3
+ metadata.gz: 7d79dac353758f9f0364896918dfb9929f3ba972a727eb93830b32ae209eaa4e
4
+ data.tar.gz: 4e0400b25ce0af579740fa2fd567ea2ba60e1d36fb5b5189a301049db3e3d8e0
5
5
  SHA512:
6
- metadata.gz: 3ba848ac8604e7b000eb303996f1cc73abd9e7652edfed6c65f2e38672849d30b3af99215ffac0f1d44ef422da8f7f4bc5694a53d57f570c45921c3bb616a719
7
- data.tar.gz: 90ab9b7c5e6587e704059d9b0d59630fe70de3fdacd8269d5e644a1ab35a7466f8016bfb14c981975f5f663db7e1392e4a745ad51fa3173e7627809afd67cf8b
6
+ metadata.gz: 5c7d372b6eb408b2fbf5cde056708e4195de48a251e540ae5fd31edb6e525afacbda22b9ec9003d89ed9f6f699c092ae2af4a7e5397fae237e0e13d3081232ce
7
+ data.tar.gz: 9c4db7213fb0f11925bb6a8430e8dcc12c15fbe17c888717ec385be70a60b0a808c48372684463eaa1241908c930ca591e9cb349aadf1c903cb168b95c11f523
@@ -1,5 +1,5 @@
1
1
  module Mimi
2
2
  class Logger
3
- VERSION = '0.2.1'.freeze
3
+ VERSION = '0.2.2'.freeze
4
4
  end
5
5
  end
data/lib/mimi/logger.rb CHANGED
@@ -146,7 +146,7 @@ module Mimi
146
146
  h = formatter_message_args_to_hash(message)
147
147
  h[:c] = context_id if options[:log_context]
148
148
  h[:s] = severity.to_s[0]
149
- h.to_json
149
+ h.to_json + "\n"
150
150
  end
151
151
  end
152
152
 
@@ -164,7 +164,7 @@ module Mimi
164
164
  parts << context_id if options[:log_context]
165
165
  parts << h[:m].to_s.tr("\n", options[:cr_character])
166
166
  parts << '...' unless h.except(:m).empty?
167
- parts.join(', ')
167
+ parts.join(', ') + "\n"
168
168
  end
169
169
  end
170
170
 
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.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alex Kukushkin