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 +4 -4
- data/lib/mimi/logger/version.rb +1 -1
- data/lib/mimi/logger.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7d79dac353758f9f0364896918dfb9929f3ba972a727eb93830b32ae209eaa4e
|
4
|
+
data.tar.gz: 4e0400b25ce0af579740fa2fd567ea2ba60e1d36fb5b5189a301049db3e3d8e0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5c7d372b6eb408b2fbf5cde056708e4195de48a251e540ae5fd31edb6e525afacbda22b9ec9003d89ed9f6f699c092ae2af4a7e5397fae237e0e13d3081232ce
|
7
|
+
data.tar.gz: 9c4db7213fb0f11925bb6a8430e8dcc12c15fbe17c888717ec385be70a60b0a808c48372684463eaa1241908c930ca591e9cb349aadf1c903cb168b95c11f523
|
data/lib/mimi/logger/version.rb
CHANGED
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
|
|