act-fluent-logger-rails 0.1.6 → 0.1.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/act-fluent-logger-rails/logger.rb +5 -0
- data/lib/act-fluent-logger-rails/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: da022b5df3afeaed17575f337eeed42f918e6844
|
4
|
+
data.tar.gz: 9332b7fbbefb9c774776d877b8de22ecb81aab92
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7d1a7c89d8eedfb64b07ebd69e9b90972e29a2e47cde4b4a354e87cc2773b6972162635d6fbdfbeb21c91b87ba3ac2bbae661447d00378b0a917bef46653a133
|
7
|
+
data.tar.gz: 71b560970dba82294045362445b55b6e13222e9bca1c037e7eab7e47b59c20b46f40a83def2aa91f667d262f158627866573067c6fe2587d58de5bec8f651482
|
data/CHANGELOG.md
CHANGED
@@ -75,6 +75,11 @@ module ActFluentLoggerRails
|
|
75
75
|
def add_message(severity, message)
|
76
76
|
@severity = severity if @severity < severity
|
77
77
|
|
78
|
+
if message.is_a? Exception
|
79
|
+
error_message = message.message + "\n" + message.backtrace.join("\n") + "\n"
|
80
|
+
message = error_message
|
81
|
+
end
|
82
|
+
|
78
83
|
if message.encoding == Encoding::UTF_8
|
79
84
|
@messages << message
|
80
85
|
else
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: act-fluent-logger-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- TAHARA Yoshinori
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-07-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|