logfoo 0.0.2 → 0.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 74b682ea6f7b1657485983cc982444b733838151
4
- data.tar.gz: db10e9619bd2b5626639e7520740b1041aa303ad
3
+ metadata.gz: fc3209b5bee9616dfeacdf915b6f1ab11a5421f0
4
+ data.tar.gz: f6e2a966e8b5cfd5491e7d2cfb1b15b6d971fee1
5
5
  SHA512:
6
- metadata.gz: 518be6ef866cee18ad8cba9ff3e309440c2566fc1385720a70fd471c9098d553d264c8a2cc9cbbb9bd35742a72a2be61170dbefc7aa085abc4f16fecd0f2972c
7
- data.tar.gz: f83407ab50b79ed00fb42ae8856cbdde308f3e980aa491b65d78cd75c699473e696b9631a43809195923f13129748e5d65ad0104fad32dabf83f4c81e8f7aa65
6
+ metadata.gz: f3da4d2e64a2e3f9e4574f84f2938c481d96a53f64e430594c810a22ffb442ad8a7d7e1549e6ef1f1c5189a54c6a6101718e20ca5b615a953288ae1ba85aa967
7
+ data.tar.gz: f891d0905cd1789499e30162290871e5d74888918070597bbd042e4555326b5a2362f7cc05b604f400e0c5722ddacfe0aa2def48ceb5c8b381f8dd42ff2a8255
@@ -1,7 +1,7 @@
1
1
  module Logfoo
2
2
  class HutchErrorHandler
3
3
  def handle(message_id, payload, consumer, ex)
4
- Logfoo::App.handle_exception(
4
+ Logfoo.handle_exception(
5
5
  ex,
6
6
  "Hutch",
7
7
  payload: payload,
@@ -1,3 +1,3 @@
1
1
  module Logfoo
2
- VERSION = '0.0.2'
2
+ VERSION = '0.0.3'
3
3
  end
data/lib/logfoo.rb CHANGED
@@ -17,16 +17,8 @@ module Logfoo
17
17
  App.instance.stop
18
18
  end
19
19
 
20
- def logfmt_formatter
21
- LogfmtFormatter.new
22
- end
23
-
24
- def simple_formatter
25
- SimpleFormatter.new
26
- end
27
-
28
- def io_appender(*args)
29
- IoAppender.new(*args)
20
+ def self.handle_exception(*args)
21
+ App.handle_exception(*args)
30
22
  end
31
23
  end
32
24
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logfoo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dmitry Galinsky