cryptum 0.0.393 → 0.0.394
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/cryptum/log.rb +3 -1
- data/lib/cryptum/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: 4a5b4776548e4f8f6027d5661f9634a6bea22112921ce1b169fac655c98bb555
|
4
|
+
data.tar.gz: 2e36f3a30d983f9dab8f65ebc4f0b8d2304ad2c988053b4bf20a8767cd31da27
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7939b9976a526e568746f1c1bb666edb9ea92e518fae246a6c7adf99fad5d549bb60862221115cd6ba25fe42efec0140815fde861b7410fc32d63d7dab598927
|
7
|
+
data.tar.gz: f5faa02f8418f7ff940b773e3abc56a751dc7fd62d836cec74f7c132417136ecaf47c6c6eb998ca6d857ee9a55b9af8bb4af9f4524f335fed244200dc08e91fa
|
data/lib/cryptum/log.rb
CHANGED
@@ -54,8 +54,10 @@ module Cryptum
|
|
54
54
|
log_event = event_history.order_book[:path] if event_history.respond_to?('order_book')
|
55
55
|
if msg.instance_of?(Interrupt)
|
56
56
|
log_event += ' => CTRL+C Detected...Exiting Session.'
|
57
|
+
logger.level = Logger::WARN
|
58
|
+
exit_gracefully = true
|
57
59
|
else
|
58
|
-
log_event += "
|
60
|
+
log_event += "=> #{msg}"
|
59
61
|
end
|
60
62
|
|
61
63
|
logger.add(logger.level, log_event, which_self)
|
data/lib/cryptum/version.rb
CHANGED