lograge-tagged 0.3.1 → 0.3.2
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/lograge_tagged.rb +4 -0
- data/lib/lograge_tagged/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ff5b657e773624d7642c7fd3acd83299428810d8
|
4
|
+
data.tar.gz: 51a1698778c7498a519e99275b8da42be0885673
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5ba36a0270423c1e9218a2e4877044ee599c3e70a4c770852913e5ee4630849e75ab70a76c0c9c1c2545429e9f02e72451bdd97aa6136be5665fa8113ef3e575
|
7
|
+
data.tar.gz: 24c440441e5c84c506eac9f4b4768ee331f28f63656dd422fc3101a796eeaf08231bed6e43a5e45812c2345b0d97d00ded28869b6768f0e97c7af779c8354833
|
data/CHANGELOG.md
CHANGED
data/lib/lograge_tagged.rb
CHANGED
@@ -17,6 +17,10 @@ module LogrageTagged
|
|
17
17
|
config.after_initialize do |app|
|
18
18
|
app.config.lograge.formatter = LogrageTagged::TaggedKeyValueFormatter.new
|
19
19
|
app.config.lograge.custom_options = ->(event) { { params: event.payload[:params] } }
|
20
|
+
if app.config.lograge.enabled
|
21
|
+
Lograge.set_formatter
|
22
|
+
Lograge.set_lograge_log_options
|
23
|
+
end
|
20
24
|
end
|
21
25
|
end if defined?(Rails)
|
22
26
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lograge-tagged
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Simone Carletti
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-06-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: lograge
|
@@ -80,7 +80,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
80
80
|
version: '0'
|
81
81
|
requirements: []
|
82
82
|
rubyforge_project:
|
83
|
-
rubygems_version: 2.
|
83
|
+
rubygems_version: 2.6.10
|
84
84
|
signing_key:
|
85
85
|
specification_version: 4
|
86
86
|
summary: A tagged LogSubscriber for Lograge
|