itz_logger 0.2.3 → 0.2.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/itz_logger/formatter.rb +2 -2
- data/lib/itz_logger/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: 1fb44ada3e12302659c994013ec9ecc47a116c38ac53cbb6ca1578ff6a5cfce1
|
4
|
+
data.tar.gz: bead2ce39964d777012366dc77656c6df7b70b48b2c45e8f653cfd281ee702e8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a6891cd4177ec0ff6fe513963a86efe6413aa1c8fce7ed22ec29f506a679a92a268029d1d60f679fd0a3a4a2ec62303f10d053b2d20de63d7efd1913ad34f923
|
7
|
+
data.tar.gz: c69118106bbe94f7e962148137c69f827d0eaf7a3929c15b740936e1533ac3b3a24defc5f51328711fcfa740a700e81157d1da64ecd01fcaa5604f440df9a6ef
|
data/lib/itz_logger/formatter.rb
CHANGED
@@ -10,9 +10,9 @@ module ItzLogger
|
|
10
10
|
|
11
11
|
def self.format(message)
|
12
12
|
printf(
|
13
|
-
"%-
|
13
|
+
"%-23s %-#{message.type.length}s %s\n",
|
14
|
+
message.created_at.strftime("%b %d %H:%M:%S UTC"),
|
14
15
|
message.type.to_s.upcase,
|
15
|
-
message.created_at,
|
16
16
|
message.message)
|
17
17
|
end
|
18
18
|
|
data/lib/itz_logger/version.rb
CHANGED