semantic_logger 4.6.0 → 4.6.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f8f915c93d4fc1e77f71adb4db1c2c3468fc4f512c244b1429e759131e8e6a66
4
- data.tar.gz: 74f2e1cbad5b2c8b5a33188bf7464831cdf2937a8fe4ba1e7f55ad8b724b6b87
3
+ metadata.gz: 22f95d79aaeb38befe2e1c242063464be93f05d16eed7cf17540256c1064f7b2
4
+ data.tar.gz: 2ae7b4e00a4415c88d66afd552c4fa03e68dcf2d354994bfe98621d0e08bcdd0
5
5
  SHA512:
6
- metadata.gz: cd81b9f494885ebb307c77b7765139d2f8acd89b1f28ded2883960e5b945158d290695bb2c897b7dd5fd4031babfe5c5438efa4dd5033c2d08e887d3d70c858f
7
- data.tar.gz: b6f1a89e7bfe91bd16c7419265b4a826792452e0767b5c96fbc6bfc55df552807c6f9a7e33ecb6f0df4a947bbeb063a0a3f09865595ef288c0cc5456fcdcad64
6
+ metadata.gz: bc5bd0ce964de270119c5ef3bcab46c8178eb7120c5ad76afd99c0f5c1acbe4d7011eaf88c4d983e943d1e25f09baffd803121cba5a580be168ac874f09e539e
7
+ data.tar.gz: 0e64868d3f9363007114fce5c10ced420282edd098816df92e60da755c380434fe42075b5be3ebcb8ca03ff2b8746681a30317e33b88563bd2e3af5579ad9b4f
data/README.md CHANGED
@@ -76,7 +76,7 @@ and are therefore not automatically included by this gem:
76
76
  ## V4 Upgrade notes
77
77
 
78
78
  The following changes need to be made when upgrading to V4:
79
- - Ruby V2.1 / JRuby V9.1 is now the minimum runtime version.
79
+ - Ruby V2.3 / JRuby V9.1 is now the minimum runtime version.
80
80
  - Replace calls to Logger#with_payload with SemanticLogger.named_tagged.
81
81
  - Replace calls to Logger#payload with SemanticLogger.named_tags.
82
82
  - MongoDB Appender requires Mongo Ruby Client V2 or greater.
@@ -19,7 +19,7 @@ module SemanticLogger
19
19
  begin
20
20
  appender.log(log) if appender.should_log?(log)
21
21
  rescue Exception => exc
22
- logger.error "Failed to log to appender: #{appender.inspect}", exc
22
+ logger.error "Failed to log to appender: #{appender.name}", exc
23
23
  end
24
24
  end
25
25
  end
@@ -30,7 +30,7 @@ module SemanticLogger
30
30
  logger.trace "Flushing appender: #{appender.name}"
31
31
  appender.flush
32
32
  rescue Exception => exc
33
- logger.error "Failed to flush appender: #{appender.inspect}", exc
33
+ logger.error "Failed to flush appender: #{appender.name}", exc
34
34
  end
35
35
  end
36
36
  logger.trace 'All appenders flushed'
@@ -44,7 +44,7 @@ module SemanticLogger
44
44
  appender.close
45
45
  delete(appender)
46
46
  rescue Exception => exc
47
- logger.error "Failed to close appender: #{appender.inspect}", exc
47
+ logger.error "Failed to close appender: #{appender.name}", exc
48
48
  end
49
49
  end
50
50
  logger.trace 'All appenders closed and removed from appender list'
@@ -59,7 +59,7 @@ module SemanticLogger
59
59
  logger.trace "Reopening appender: #{appender.name}"
60
60
  appender.reopen
61
61
  rescue Exception => exc
62
- logger.error "Failed to re-open appender: #{appender.inspect}", exc
62
+ logger.error "Failed to re-open appender: #{appender.name}", exc
63
63
  end
64
64
  end
65
65
  logger.trace 'All appenders re-opened'
@@ -1,3 +1,3 @@
1
1
  module SemanticLogger
2
- VERSION = '4.6.0'.freeze
2
+ VERSION = '4.6.1'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: semantic_logger
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.6.0
4
+ version: 4.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Reid Morrison
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-10-10 00:00:00.000000000 Z
11
+ date: 2020-02-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: concurrent-ruby
@@ -106,7 +106,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
106
106
  - !ruby/object:Gem::Version
107
107
  version: '0'
108
108
  requirements: []
109
- rubygems_version: 3.0.3
109
+ rubygems_version: 3.0.6
110
110
  signing_key:
111
111
  specification_version: 4
112
112
  summary: Feature rich logging framework, and replacement for existing Ruby & Rails