enhanced-logger 0.0.9 → 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/enhanced_logger.rb +3 -2
- data/lib/enhanced_logger/logger.rb +2 -2
- data/lib/enhanced_logger/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 01c7810aa2d4eef887ff89c754b64c81c4059744
|
4
|
+
data.tar.gz: 90517720ae9b2c9bf5d695c3d5d06fe0197887f4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b9baa534e8d760f83d9d5a428be19165c6b36b764ae72388a1ecf6fc3864cfe76820df683152335f7371504d0d0c77fed57e147f5b179c827575494322117d59
|
7
|
+
data.tar.gz: d5e2995d211b1848cbc7b121ddad2cf8db9258c248b2f8054d5d4e44b65e56355f3a013d91800ad4dae2b169c678efdbbdd8dedd926101e14ebd9dd156adda69
|
data/lib/enhanced_logger.rb
CHANGED
@@ -1,5 +1,3 @@
|
|
1
|
-
puts 'EnhancedLogger loaded...'
|
2
|
-
|
3
1
|
module EnhancedLogger
|
4
2
|
class Logger
|
5
3
|
attr_accessor :level
|
@@ -9,11 +7,13 @@ module EnhancedLogger
|
|
9
7
|
end
|
10
8
|
|
11
9
|
def set_env env
|
10
|
+
puts __method__
|
12
11
|
@request_id = env[ 'HTTP_X_REQUEST_ID' ]
|
13
12
|
@remote_request_id = env[ 'HTTP_X_REMOTE_REQUEST_ID' ]
|
14
13
|
end
|
15
14
|
|
16
15
|
def clear_env
|
16
|
+
puts __method__
|
17
17
|
end
|
18
18
|
|
19
19
|
def info msg = nil
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: enhanced-logger
|
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
|
- George Ulmer
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-01-
|
11
|
+
date: 2016-01-29 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Logs extra info.
|
14
14
|
email: george@boost-media.com
|