event_tracer 0.0.1 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/event_tracer/{logger.rb → base_logger.rb} +2 -2
- data/lib/event_tracer/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: 0c3405136a8481cab1e0af88ad64f86362caa41a
|
4
|
+
data.tar.gz: 2ea5ddc4c86f075b15f13a568c0ceebd13fd3be5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d1dc0e74037f877d946130b76a9ac6c336f1174601fb6263494341c26298547ca39e6aa0ca48109a107d88412cec8e4cf46408de2f4d7c1dd8cd400e0533b7b5
|
7
|
+
data.tar.gz: 96341db4a9e6967a573d9aa4a0147d55357f5db20630785aff5de44491d129136a157f8ece4939b24e10dd0ce992696e489cdb93e364c391587f4b54251e23e9
|
@@ -2,9 +2,9 @@ require_relative '../event_tracer'
|
|
2
2
|
require_relative './basic_decorator'
|
3
3
|
require 'json'
|
4
4
|
|
5
|
-
# Usage: EventTracer.register :base, EventTracer::
|
5
|
+
# Usage: EventTracer.register :base, EventTracer::BaseLogger.new(Logger.new(STDOUT))
|
6
6
|
module EventTracer
|
7
|
-
class
|
7
|
+
class BaseLogger < BasicDecorator
|
8
8
|
|
9
9
|
LOG_TYPES.each do |log_type|
|
10
10
|
define_method log_type do |*args|
|
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.0
|
4
|
+
version: 0.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- melvrickgoh
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-01-
|
11
|
+
date: 2019-01-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -62,8 +62,8 @@ extra_rdoc_files: []
|
|
62
62
|
files:
|
63
63
|
- lib/event_tracer.rb
|
64
64
|
- lib/event_tracer/appsignal_logger.rb
|
65
|
+
- lib/event_tracer/base_logger.rb
|
65
66
|
- lib/event_tracer/basic_decorator.rb
|
66
|
-
- lib/event_tracer/logger.rb
|
67
67
|
- lib/event_tracer/version.rb
|
68
68
|
homepage: https://github.com/melvrickgoh/event_tracer
|
69
69
|
licenses:
|