logger 1.4.3 → 1.4.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/logger/version.rb +1 -1
- data/lib/logger.rb +5 -5
- data/logger.gemspec +0 -2
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 86ff5c7f2a189b07730b1fbe6287938cf7501889ee62bd89d8de6d02902f1bee
|
4
|
+
data.tar.gz: 62343e3ea1b0dbd6cdb94ff67721f1f86e54876bd6cd0265b112181d60fd1125
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 302bbc40320bd744a40924ce6837499d2d9460ebab7745805352cb86d1348737a350bcb94918474cc0cf517b04b6b374eddcfc6a9d142d92943d99ec746df335
|
7
|
+
data.tar.gz: c4d057679ca2aed3e4e57424eacb0167ebb34fcb135bb7b9961a7f2e4b0bfdb33a6f902cd5255acaee7d04adb10d9d5e7035a3784aa0b3e9bc19b5fdd2d528e7
|
data/lib/logger/version.rb
CHANGED
data/lib/logger.rb
CHANGED
@@ -302,35 +302,35 @@ class Logger
|
|
302
302
|
alias sev_threshold level
|
303
303
|
alias sev_threshold= level=
|
304
304
|
|
305
|
-
# Returns +true+
|
305
|
+
# Returns +true+ if and only if the current severity level allows for the printing of
|
306
306
|
# +DEBUG+ messages.
|
307
307
|
def debug?; level <= DEBUG; end
|
308
308
|
|
309
309
|
# Sets the severity to DEBUG.
|
310
310
|
def debug!; self.level = DEBUG; end
|
311
311
|
|
312
|
-
# Returns +true+
|
312
|
+
# Returns +true+ if and only if the current severity level allows for the printing of
|
313
313
|
# +INFO+ messages.
|
314
314
|
def info?; level <= INFO; end
|
315
315
|
|
316
316
|
# Sets the severity to INFO.
|
317
317
|
def info!; self.level = INFO; end
|
318
318
|
|
319
|
-
# Returns +true+
|
319
|
+
# Returns +true+ if and only if the current severity level allows for the printing of
|
320
320
|
# +WARN+ messages.
|
321
321
|
def warn?; level <= WARN; end
|
322
322
|
|
323
323
|
# Sets the severity to WARN.
|
324
324
|
def warn!; self.level = WARN; end
|
325
325
|
|
326
|
-
# Returns +true+
|
326
|
+
# Returns +true+ if and only if the current severity level allows for the printing of
|
327
327
|
# +ERROR+ messages.
|
328
328
|
def error?; level <= ERROR; end
|
329
329
|
|
330
330
|
# Sets the severity to ERROR.
|
331
331
|
def error!; self.level = ERROR; end
|
332
332
|
|
333
|
-
# Returns +true+
|
333
|
+
# Returns +true+ if and only if the current severity level allows for the printing of
|
334
334
|
# +FATAL+ messages.
|
335
335
|
def fatal?; level <= FATAL; end
|
336
336
|
|
data/logger.gemspec
CHANGED
@@ -16,8 +16,6 @@ Gem::Specification.new do |spec|
|
|
16
16
|
spec.licenses = ["Ruby", "BSD-2-Clause"]
|
17
17
|
|
18
18
|
spec.files = Dir.glob("lib/**/*.rb") + ["logger.gemspec"]
|
19
|
-
spec.bindir = "exe"
|
20
|
-
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
21
19
|
spec.require_paths = ["lib"]
|
22
20
|
|
23
21
|
spec.required_ruby_version = ">= 2.3.0"
|
metadata
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: logger
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.4.
|
4
|
+
version: 1.4.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Naotoshi Seo
|
8
8
|
- SHIBATA Hiroshi
|
9
9
|
autorequire:
|
10
|
-
bindir:
|
10
|
+
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2021-10-19 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|
@@ -103,7 +103,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
103
103
|
- !ruby/object:Gem::Version
|
104
104
|
version: '0'
|
105
105
|
requirements: []
|
106
|
-
rubygems_version: 3.
|
106
|
+
rubygems_version: 3.3.0.dev
|
107
107
|
signing_key:
|
108
108
|
specification_version: 4
|
109
109
|
summary: Provides a simple logging utility for outputting messages.
|