huyegger 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/huyegger/formatter.rb +1 -1
- data/lib/huyegger/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b3f517dd1fe0509a84de820331fb05e09ca43804
|
4
|
+
data.tar.gz: 85a02b0da52849d8f842b6e89dd1bf8628ae2047
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4c89fa43abedefb10c0250bb09a106cb174d027a9999cc4072496002a82647580c23904cdfffa07e4de17262aac1e88463c426332ea386c3d219d0a80c1ea944
|
7
|
+
data.tar.gz: d60edbc668718cce40af61582a83621c18918e6168aaad64fca1a8ed744949bfd5cd274d50d52372846445ca8f5b10b2968fec11ae411c39e50698319045f6ca
|
data/lib/huyegger/formatter.rb
CHANGED
@@ -28,7 +28,7 @@ module Huyegger
|
|
28
28
|
|
29
29
|
# This method is invoked when a log event occurs
|
30
30
|
def call(severity, timestamp, progname, msg)
|
31
|
-
msg = original_formatter.call(severity, timestamp, progname, msg) if original_formatter
|
31
|
+
msg = original_formatter.call(severity, timestamp, progname, msg) if original_formatter && String === msg
|
32
32
|
json_message = {}
|
33
33
|
|
34
34
|
add_severity!(json_message, severity)
|
data/lib/huyegger/version.rb
CHANGED