hatchet 0.2.13 → 0.2.14
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/hatchet/logger_appender.rb +3 -0
- data/lib/hatchet/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: '09292864e19a0e6f147ce3793861453e8729879cda6229a1aade0e713e20855a'
|
4
|
+
data.tar.gz: 56f416d619d79172172af1bc727a48b4d73c0c4e479977515d0366e1fd6dfd91
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 721c0c7389da8d71f4a41a5f251124c752171e01f727258f7bb9d58369d2f31a058af0dd429103b5066afd6405aa55c2b1c330afb2c2509dd95aa88d696e1ed0
|
7
|
+
data.tar.gz: e8466b0daf2b940eefb13ef8df88eb13ad4a710c363dd06f4a3f4a0b2ec36ae80bee61486da67e10db53464dc02832cac23c07f728ece037bd44a6024b040868
|
@@ -64,6 +64,9 @@ module Hatchet
|
|
64
64
|
#
|
65
65
|
def add(level, context, message)
|
66
66
|
@logger.send level, @formatter.format(level, context, message)
|
67
|
+
rescue => e
|
68
|
+
STDERR.puts "Failed to log message for #{context} with appender #{self} - #{level} - #{message}\n"
|
69
|
+
STDERR.puts "#{e}\n"
|
67
70
|
end
|
68
71
|
|
69
72
|
end
|
data/lib/hatchet/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hatchet
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.14
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Garry Shutler
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-10-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: minitest
|
@@ -88,8 +88,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
88
88
|
- !ruby/object:Gem::Version
|
89
89
|
version: '0'
|
90
90
|
requirements: []
|
91
|
-
|
92
|
-
rubygems_version: 2.4.7
|
91
|
+
rubygems_version: 3.0.6
|
93
92
|
signing_key:
|
94
93
|
specification_version: 4
|
95
94
|
summary: Logging library that provides the ability to add class/module specific filters
|