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 +4 -4
- data/lib/enhanced_logger/logger.rb +2 -3
- data/lib/enhanced_logger/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b066c7cc2f3688d294e94e5f7825e7a7530de417
|
4
|
+
data.tar.gz: 02398a4a8ca0bc1c45e30200481d7218f8c95508
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
15
|
+
@request_id = nil
|
16
|
+
@remote_request_id = nil
|
18
17
|
end
|
19
18
|
|
20
19
|
def info msg = nil
|