extended_logger 0.6.1 → 0.6.2
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/extended_logger.rb +2 -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: 97bbe77f301024495da9528d5ec193c89894f76b
|
4
|
+
data.tar.gz: d196a15033648b6e914d7a1c6b418448cb9210e4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0c4dfec6925dd532ca2213c796f8a144583bb3c44a8b25037d8adffc8b8a21fb2f0535d64f0d0d684a254a3f3186e1e4fb9155f651e9b27f04798e9f8e9ff971
|
7
|
+
data.tar.gz: 1b764005965e5ddb5e604c775b03629c302a09829f7ddde4b89f986e9f4f2e37a805bd4646683bef0c3114801c3ba62bccad25c7f5a4c927d57ee7e14563b9ef
|
@@ -8,10 +8,11 @@ class ExtendedLogger
|
|
8
8
|
@sink = sink
|
9
9
|
end
|
10
10
|
|
11
|
-
def self.build device=nil, **sink_arguments
|
11
|
+
def self.build device=nil, level: nil, **sink_arguments
|
12
12
|
sink = self.sink device: device, **sink_arguments
|
13
13
|
|
14
14
|
instance = new sink
|
15
|
+
instance.level = level if level
|
15
16
|
instance
|
16
17
|
end
|
17
18
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: extended_logger
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nathan Ladd
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-02-
|
11
|
+
date: 2016-02-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: test_bench
|