trivial_log_formatter 0.0.3 → 0.0.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
  SHA1:
3
- metadata.gz: b2bc3bea213041b469b757ffe0e2504f97c9f179
4
- data.tar.gz: e864321098959873c9671e8460eef066debb64ca
3
+ metadata.gz: b6625ba26dd41c40749d5dc25e043d6094d54573
4
+ data.tar.gz: f08231b8a081d131805cc39b4bbd175918e74dfa
5
5
  SHA512:
6
- metadata.gz: 75b37ab9de4605a7047d9de7f5f87431942031a7bdac2f7fda3b4211047cd6a7fd4fa6919e92d5b5add3d016b220a3f1c435e6e6e6e8cbf2413728dbccc98834
7
- data.tar.gz: e7d26a9d1f4beedbc5ab05827283f8f7cd023d939c556fd0ffcb9bd498b176699f1f7041b292fc344290533f6d4e8ee3b9e7ff8a293ec4149f4f120819bdcd0c
6
+ metadata.gz: 94e504a090e4f34dcbaf958bc493dc8d1db185ec481f9c90846a46a1fdc5c3f0a296e4c0e143f2ac0495efb942a53c4e94e3aaf900a2bc41ee97aa26fddf5927
7
+ data.tar.gz: e1fefb5ff9c221f4cc72a54855099d876cfc26633420cd13d69c5cadcebfa03cd11c2b0e8c50b3f42bd86d2c2b0b2c88583cc06ebfcff7981709aedc9d560dd5
@@ -5,7 +5,7 @@ module TrivialLogFormatter
5
5
 
6
6
  class Formatter < ::Logger::Formatter
7
7
  FORMAT = "\033[%sm[%s#%d] %5s -- %s: %s\033[0m\n"
8
- SEVERITY_COLOR_MAP = {:debug => '0;37', :info => '32', :warn => '33', :error => '31', :fatal => '31', :unknown => '37'}
8
+ SEVERITY_COLOR_MAP = {:debug => '0', :info => '32', :warn => '33', :error => '31', :fatal => '31', :unknown => '0;37'}
9
9
 
10
10
  def call(severity, time, progname, msg)
11
11
  msg = '' if msg.nil?
@@ -1,3 +1,3 @@
1
1
  module TrivialLogFormatter
2
- VERSION = '0.0.3'
2
+ VERSION = '0.0.4'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: trivial_log_formatter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Erich N. Quintero