ztk 1.14.0 → 1.14.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/lib/ztk/logger.rb +1 -1
- data/lib/ztk/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
OWQ3ZjgzODdmMWM2ZWNmMTY2NDk4ZjBjNjhmYjY2ZmVmYzgxZDM3Ng==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
ODBkZmE5ZjFjOTRhZTcyODY1ZTdhYWQ1ZGJkNDM2ODVhMzg2NWFmMQ==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
ODE1YTk3ZmUyODk5MDNhNjIwNmU2NWIyZjBlYzdjNmVmMzYzZThjNDc1NzEx
|
10
|
+
YTc5OTI1MGJkZjczM2M1NWM0MTFmM2E4ZmMxMGUwNmRmZjZkNTcwZjJkN2U4
|
11
|
+
ZjgxZWEyNWVkMDFiNzNhMjM1MmIxZjdmMDU5N2M1N2NlYWI0NWI=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
NGE0ZjhiZjhlMWUyMmUzNjAzYjZiMWJjZTRkNzZlODQ0YTYyZWJjYjU5ZjAz
|
14
|
+
MzYwYjA0NDk3YjdmNTcyYWE5MmRmYzg5OGIxMjI3NzI1Y2Y1ZWZkZTAwNDRj
|
15
|
+
NzBmMDQwOWU2Y2UwZWRhZmIzNGQ2OGQ2MWQzZTVhYTRhMWU1ZDc=
|
data/lib/ztk/logger.rb
CHANGED
@@ -97,7 +97,7 @@ module ZTK
|
|
97
97
|
message = "%19s.%06d|%05d|%5s|%s%s\n" % [Time.now.utc.strftime("%Y-%m-%d|%H:%M:%S"), Time.now.utc.usec, Process.pid, SEVERITIES[severity], called_by, message]
|
98
98
|
|
99
99
|
statement = ZTK::ANSI.uncolor(message)
|
100
|
-
stdout_echo
|
100
|
+
(stdout_echo == true) and $stdout.write(statement)
|
101
101
|
@logdev.write(statement)
|
102
102
|
@logdev.respond_to?(:flush) and @logdev.flush
|
103
103
|
|
data/lib/ztk/version.rb
CHANGED