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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 17cd821e3e691ad808e33444f6317337447c1ea8
4
- data.tar.gz: 90b02a96149b6bcf1c6762e4d8c067922c1de850
3
+ metadata.gz: b671b9df57340513c1edce589383f0ce1967d491
4
+ data.tar.gz: 3be312075b7af0ad21fe4cbbea7b7aee1a648fc1
5
5
  SHA512:
6
- metadata.gz: 247bef89cf0e04cff19f2897b82e432289a731b629bca94d4fd974e50ad737c471d56bdea3e791c834ca094a4a6b45212d33a745dcb4b5162d2afbd88a70e4f4
7
- data.tar.gz: 33541eb35aafaa02bb10bd92e9b5ce158b459db135532d8ad58fb35eb002f960105094d21f13b67a10b3fa842559efc4b5912a0b1ccea4c6a1ea8fa4b500015d
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
@@ -2,5 +2,5 @@
2
2
  # -*- ruby -*-
3
3
 
4
4
  module Logue
5
- VERSION = '1.0.16'
5
+ VERSION = '1.0.17'
6
6
  end
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.16
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: 2018-10-21 00:00:00.000000000 Z
11
+ date: 2019-05-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler