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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 282c0b116ad9810ba55cd58b437c08bf5166485ee67de672aa96cf573aa96474
4
- data.tar.gz: b1c50424d8dbe174c9bbd152b8e9a5023168dd47309b8237b835e1613356f716
3
+ metadata.gz: 1fb44ada3e12302659c994013ec9ecc47a116c38ac53cbb6ca1578ff6a5cfce1
4
+ data.tar.gz: bead2ce39964d777012366dc77656c6df7b70b48b2c45e8f653cfd281ee702e8
5
5
  SHA512:
6
- metadata.gz: 2dd812baecc20cf3284d26d5a37b10478b6bdb23f66a6af9720cddc381490690281755103623edde17cf5057f1ba0e578002c3f59f284955f1ec7a6655183918
7
- data.tar.gz: 641633aa8ae63f495093b8da548cac360eea43dd467c6a0200c8fd747da1449d0f676096c52918d78e2f2615c0f010de64ab7536da4f5abfd67ccd6fe110e160
6
+ metadata.gz: a6891cd4177ec0ff6fe513963a86efe6413aa1c8fce7ed22ec29f506a679a92a268029d1d60f679fd0a3a4a2ec62303f10d053b2d20de63d7efd1913ad34f923
7
+ data.tar.gz: c69118106bbe94f7e962148137c69f827d0eaf7a3929c15b740936e1533ac3b3a24defc5f51328711fcfa740a700e81157d1da64ecd01fcaa5604f440df9a6ef
@@ -10,9 +10,9 @@ module ItzLogger
10
10
 
11
11
  def self.format(message)
12
12
  printf(
13
- "%-8s | %-23s | %s\n",
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
 
@@ -1,3 +1,3 @@
1
1
  module ItzLogger
2
- VERSION = "0.2.3"
2
+ VERSION = "0.2.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: itz_logger
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Schaarschmidt