evt-log 0.4.3.3 → 0.4.3.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/log.rb +1 -1
- data/lib/log/defaults.rb +5 -5
- data/lib/log/format/color.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 309dfbff85a02c644a251265caa5d092042ab65b
|
4
|
+
data.tar.gz: 24615ff39093791a1622ce16cfd75e8eb93bae8c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ffb1b5950669d0da7b88f84b6317504954bcb85263c083ddf144386a08e1516edc3035c59ffb409ff47a9a865793ba9300f2f04dacdb73e8e4461f081fd7fba5
|
7
|
+
data.tar.gz: 492c872aaafeb2939c5e981e712081f0eefec146f3cfb04dab8042518ee394947d3f6ab780be5348a38b27d25e249458261f397c381506595365fe83fcb756c1
|
data/lib/log.rb
CHANGED
data/lib/log/defaults.rb
CHANGED
@@ -57,11 +57,11 @@ module Log::Defaults
|
|
57
57
|
|
58
58
|
def self.level_formatters
|
59
59
|
{
|
60
|
-
error: proc { |message|
|
61
|
-
fatal: proc { |message|
|
62
|
-
warn: proc { |message|
|
63
|
-
debug: proc { |message|
|
64
|
-
trace: proc { |message|
|
60
|
+
error: proc { |message| TerminalColors::Apply.(message, bg: :red, bold: true) },
|
61
|
+
fatal: proc { |message| TerminalColors::Apply.(message, fg: :red, bg: :black) },
|
62
|
+
warn: proc { |message| TerminalColors::Apply.(message, fg: :yellow, bg: :black) },
|
63
|
+
debug: proc { |message| TerminalColors::Apply.(message, fg: :green) },
|
64
|
+
trace: proc { |message| TerminalColors::Apply.(message, fg: :cyan) }
|
65
65
|
}
|
66
66
|
end
|
67
67
|
end
|
data/lib/log/format/color.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: evt-log
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.3.
|
4
|
+
version: 0.4.3.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- The Eventide Project
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-12-
|
11
|
+
date: 2016-12-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: evt-initializer
|
@@ -67,7 +67,7 @@ dependencies:
|
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '0'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
|
-
name:
|
70
|
+
name: terminal_colors
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
73
|
- - ">="
|
@@ -138,7 +138,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
138
138
|
version: '0'
|
139
139
|
requirements: []
|
140
140
|
rubyforge_project:
|
141
|
-
rubygems_version: 2.
|
141
|
+
rubygems_version: 2.6.8
|
142
142
|
signing_key:
|
143
143
|
specification_version: 4
|
144
144
|
summary: Logging to STD IO with levels, tagging, and coloring
|