extended_logger 0.2.6 → 0.2.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/extended_logger/factory.rb +2 -2
- 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: 69fbd42275b49a88b59b5c6c9304b1c85802ec13
|
4
|
+
data.tar.gz: df224b6d6ab28e632911b59f567afc139c29b664
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 56c924b08014891c69e89515d24049c90f942767cdafdd12d5507359e164f382c69e2980e045171a68f6cb491ffeb97d8283865cf8c3d5b01c83f6f240c1e3a0
|
7
|
+
data.tar.gz: d204424f8e5a9b97afcd95b48d2e463cfb462a5f36a6665d5aab55b5f5e6a7ffa99059d45182961ab0685801479437021a4ff803105514845fe9367110a1754b
|
@@ -45,11 +45,11 @@ class ExtendedLogger
|
|
45
45
|
end
|
46
46
|
|
47
47
|
def device
|
48
|
-
|
48
|
+
@device || env['LOG_DEVICE'] || $stderr
|
49
49
|
end
|
50
50
|
|
51
51
|
def level
|
52
|
-
level =
|
52
|
+
level = @level || env['LOG_LEVEL']
|
53
53
|
|
54
54
|
return unless level
|
55
55
|
return level if level.is_a? Integer
|