event_tracer 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/event_tracer/base_logger.rb +2 -1
- data/lib/event_tracer/version.rb +1 -1
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: e0d3f6878e332430d33a93d947d071c7dab8e13c9d43ab15198c197bef399718
|
4
|
+
data.tar.gz: eacc10d2ae0cf10a22e025146e5a7c4d5d65ebeeb5d56876469819305ccebd20
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 95b2950a8df1ef173a55f79220c791e527b3c42aef9f3692b65b1d80d5e36b1f0977f862cf6cc569f743912f5978897cc3140108f69f7b81e76c3b50757e26bc
|
7
|
+
data.tar.gz: a0a834562f85a6b66c1aab0fabdb65a6cf952f3da3058b3b2b7c12b949957ba1974d73df06ab3cac704fb364fec262226451093828bd5d6648e01c3759737871
|
@@ -20,7 +20,8 @@ module EventTracer
|
|
20
20
|
|
21
21
|
# EventTracer ensures action & message is always populated
|
22
22
|
def send_message(log_method, action:, message:, **args)
|
23
|
-
|
23
|
+
data = args.merge(action: action, message: message)
|
24
|
+
logger.public_send(log_method, data)
|
24
25
|
end
|
25
26
|
|
26
27
|
end
|
data/lib/event_tracer/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: event_tracer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- melvrickgoh
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-11-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -86,8 +86,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
86
86
|
- !ruby/object:Gem::Version
|
87
87
|
version: '0'
|
88
88
|
requirements: []
|
89
|
-
|
90
|
-
rubygems_version: 2.5.1
|
89
|
+
rubygems_version: 3.0.3
|
91
90
|
signing_key:
|
92
91
|
specification_version: 4
|
93
92
|
summary: Thin wrapper for formatted logging/ metric services to be used as a single
|