rails_semantic_logger 1.8.0 → 3.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rails_semantic_logger/railtie.rb +4 -1
- data/lib/rails_semantic_logger/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8b521245aa3a734f56eabb3c7934f724a58eb077
|
4
|
+
data.tar.gz: 7f8b4386e582389d4df8076d6a65bcf1b973e0f6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b9d4b7ae4906def2678e7bb36de1ec0ae71b469863c116524f2105f48ca0c0f4ee8698bf853636e7301f912e6aa48aa614b5412d13352096f4cf578253cd5d11
|
7
|
+
data.tar.gz: 42ecc049aef93924bebed1a3bba008ecd6ee1e00f280286bd8792908b8ccb1e17a18db59a384d5f3ebe208959c440a916ced8aed90d706ce9577a2d06ebb4305
|
@@ -67,7 +67,7 @@ module RailsSemanticLogger #:nodoc:
|
|
67
67
|
end
|
68
68
|
|
69
69
|
# Replace Rails loggers
|
70
|
-
[:active_record, :action_controller, :action_mailer, :action_view, :active_job].each do |name|
|
70
|
+
[:active_record, :action_controller, :action_mailer, :action_view, :active_job, :action_cable].each do |name|
|
71
71
|
ActiveSupport.on_load(name) { include SemanticLogger::Loggable }
|
72
72
|
end
|
73
73
|
end
|
@@ -110,6 +110,9 @@ module RailsSemanticLogger #:nodoc:
|
|
110
110
|
|
111
111
|
# Replace the Bugsnag logger
|
112
112
|
Bugsnag.configure { |config| config.logger = SemanticLogger[Bugsnag] } if defined?(Bugsnag)
|
113
|
+
|
114
|
+
# Set the logger for concurrent-ruby
|
115
|
+
Concurrent.global_logger = SemanticLogger[Concurrent] if defined?(Concurrent)
|
113
116
|
end
|
114
117
|
|
115
118
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rails_semantic_logger
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 3.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Reid Morrison
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-02-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: semantic_logger
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '3.0'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '
|
26
|
+
version: '3.0'
|
27
27
|
description: Replaces the default Rails logger with SemanticLogger
|
28
28
|
email:
|
29
29
|
- reidmo@gmail.com
|
@@ -57,7 +57,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
57
57
|
version: '0'
|
58
58
|
requirements: []
|
59
59
|
rubyforge_project:
|
60
|
-
rubygems_version: 2.
|
60
|
+
rubygems_version: 2.5.1
|
61
61
|
signing_key:
|
62
62
|
specification_version: 4
|
63
63
|
summary: Scalable, next generation enterprise logging for Rails
|