enhanced-logger 0.1.3 → 0.1.4

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
  SHA1:
3
- metadata.gz: 3bcac4f5ede72022288d1526fec3fbca44fb6b0f
4
- data.tar.gz: e8d13d79da68b0cd6e6028d0e634e5e042622109
3
+ metadata.gz: b066c7cc2f3688d294e94e5f7825e7a7530de417
4
+ data.tar.gz: 02398a4a8ca0bc1c45e30200481d7218f8c95508
5
5
  SHA512:
6
- metadata.gz: 9db7ba977190e3c1b57de7cce036ab6e0d569b7ce0c442ff6d814d343512deacb6e996012c7eccc70ca7ec72aa462c4d5a28741ab2c20bc2de5ee5650a182d93
7
- data.tar.gz: 8f8831f76dbb9f6e1681fecfc7e5904b8ed470bfdba63fbe3fe939c751f53cd2725f1aee3d8e207d176c077e5721d18e6a1e831ab768cd74796a99ca2c67b7ab
6
+ metadata.gz: 63c6ea4b02f46717d9814ed8abf6f4fad0c34202abaaacf1de5dc355ba37ea82f3bb78572ceb712373849ae48738496482b461e4cbebf0fe4e7e5c4070f80720
7
+ data.tar.gz: b54ca353d2966fbae2ff428b77c975cae72e63cc754b0707e7889720b68b98d744b08e4ee2facb50482961507bee8ae2fe32067d63e03a312c6397135331f845
@@ -3,18 +3,17 @@ module EnhancedLogger
3
3
  attr_accessor :level
4
4
 
5
5
  def initialize dest
6
- # puts __method__
7
6
  $stdout.sync = true
8
7
  end
9
8
 
10
9
  def set_env env
11
- # puts __method__
12
10
  @request_id = env[ 'HTTP_X_REQUEST_ID' ]
13
11
  @remote_request_id = env[ 'HTTP_X_REMOTE_REQUEST_ID' ]
14
12
  end
15
13
 
16
14
  def clear_env
17
- puts __method__
15
+ @request_id = nil
16
+ @remote_request_id = nil
18
17
  end
19
18
 
20
19
  def info msg = nil
@@ -1,3 +1,3 @@
1
1
  module EnhancedLogger
2
- VERSION = "0.1.3"
2
+ VERSION = "0.1.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: enhanced-logger
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - George Ulmer