logue 1.0.16 → 1.0.17
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/logue/logger.rb +4 -0
- data/lib/logue/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b671b9df57340513c1edce589383f0ce1967d491
|
4
|
+
data.tar.gz: 3be312075b7af0ad21fe4cbbea7b7aee1a648fc1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d66088f3ab49047f2a357e2fb972f2f7d000eefa90e8e78d103c28b9ba1075ea5e82220eb79359d9e9251d6bec41cb999cca9dde260acf2b4b54cdcc29f12a35
|
7
|
+
data.tar.gz: 38ec5e6d5f34a7dfd6edcd8fbe3fbe527b339c94acdd9b7e5f8e9a55e4f16e74b0211c5f70b613fc6da68dfc26ab03351fa13a685a3ce65c035d4570234e29c8
|
data/lib/logue/logger.rb
CHANGED
@@ -105,6 +105,10 @@ module Logue
|
|
105
105
|
log msg, obj, level: Level::FATAL, classname: classname, &blk
|
106
106
|
end
|
107
107
|
|
108
|
+
def write msg = "", obj = nil, classname: nil, &blk
|
109
|
+
log msg, obj, level: Level::WARN, classname: classname, &blk
|
110
|
+
end
|
111
|
+
|
108
112
|
# Logs the given message.
|
109
113
|
def log msg = "", obj = nil, level: Level::DEBUG, classname: nil, &blk
|
110
114
|
log_frames msg, obj, classname: classname, level: level, nframes: 0, &blk
|
data/lib/logue/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: logue
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.17
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jeff Pace
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-05-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|