entangler 1.4.1 → 1.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/entangler/logger.rb +1 -1
- data/lib/entangler/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3a4ebf4a24baaacd27607af53da80054873901c438a88fbc647521bf76183a6e
|
4
|
+
data.tar.gz: b5a56d17bf8a7d4cb251654c2be3929c9d4d6a4d5f31fe37b9ea41e81ab88bf3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 610b064643380a99c59fdfc61fb292c448d44f0b891da081fb39f34462f841e30e3be6a8094e4067e5878217ba0927ef7fbed812de40b92c55139d165a8b2916
|
7
|
+
data.tar.gz: 2d4d014f1df0606988281772c30e2674d7de057571f586953093448b7ce470cfc418b719fcbe058f57cbd9a289a49c3aa016508df86a882f58a52c106789c206
|
data/lib/entangler/logger.rb
CHANGED
@@ -15,7 +15,7 @@ module Entangler
|
|
15
15
|
|
16
16
|
def initialize(outputs, verbose: false)
|
17
17
|
@loggers = Array(outputs).map do |output|
|
18
|
-
logger = ::Logger.new(output)
|
18
|
+
logger = ::Logger.new(output, 1, 10_485_760) # 10.megabytes.to_i
|
19
19
|
|
20
20
|
logger.level = verbose ? ::Logger::DEBUG : ::Logger::INFO
|
21
21
|
logger.formatter = proc do |severity, datetime, _, msg|
|
data/lib/entangler/version.rb
CHANGED