delogger 0.3.0.alpha3 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +10 -13
  3. data/lib/delogger/version.rb +1 -1
  4. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5544704780ecc02bc3ba2112b80aa84790d08837
4
- data.tar.gz: cfefd886cc01a20c808a932436a05719f9501132
3
+ metadata.gz: 5f111f1a460d9cbad9e6a206200f6528b37c7af5
4
+ data.tar.gz: f008b090fd1b3a110ba240f9e4e10ebef59e4e3e
5
5
  SHA512:
6
- metadata.gz: 154795b61f06d5995ab098879b682015db734511f745c22d796ba3a19673cd100898767e8b110b2887de57985d1ab0856880a5119c56afb7004efd8f8ce9f9ad
7
- data.tar.gz: 2bd8d6e488a6790210d6539d2d7ad346b4469734be2a5fa53a666e97547382187e5a1453f3b1dc6c9eabce7cdc778584e59f1af799796790b14c7c33e657969a
6
+ metadata.gz: '0469d96b86f876f1d6d83806baebd09e13dc3c67fe74b4ebbdefd82718486c360f9024e2d9a24654cf36b9484df96ee369ab9a19b8c5d663896dcb7c09a23123'
7
+ data.tar.gz: 8223bdbdd742c950f68385281ff215846c23d9116a75b06f221c2d68d0abee80a9ce31696586ff19aa308dc42488919323077dd389bc52589f69a38e9eeab293
data/README.md CHANGED
@@ -45,14 +45,14 @@ console. You can disable it again using `logger.disable()`. DeLogger is using br
45
45
  so you only have to enable/disable it once on your website.
46
46
 
47
47
  DeLogger supports same output methods as console:
48
- - `log`, `debug`:
49
- ![debug][/images/debug.png?raw=true]
50
- - `info`:
51
- ![info][/images/info.png?raw=true]
52
- - `warn`:
53
- ![warn][/images/warn.png?raw=true]
54
- - `error`:
55
- ![error][/images/error.png?raw=true]
48
+
49
+ ![debug](/images/debug.png?raw=true)
50
+
51
+ ![info](/images/info.png?raw=true)
52
+
53
+ ![warn](/images/warn.png?raw=true)
54
+
55
+ ![error](/images/error.png?raw=true)
56
56
 
57
57
  ### Options
58
58
 
@@ -62,8 +62,7 @@ logger = DeLogger.new({ disabled: false, formatStrings: true })
62
62
  ```
63
63
  - `disabled`: You can disable the logger globally if you want to. Normally, though, `logger.disable()`
64
64
  should be enough.
65
- - `formatStrings`: Controls whether strings should be formatted (see [formatting](#formatting)) or
66
- left unchanged.
65
+ - `formatStrings`: Controls whether string [formatting](#formatting) should be enabled.
67
66
 
68
67
  ### Focus mode
69
68
 
@@ -78,9 +77,7 @@ Supported classes: `badge`, `bold`, `italic`.
78
77
  See also: [color classes](#color-classes).
79
78
 
80
79
  Example:
81
- ```js
82
- logger.log("(MyClass#myMethod).badge.italic (@akxcv).badge.orange (bold).bold", { foo: 'bar' })
83
- ```
80
+
84
81
  ![Example output](/images/formatting.png?raw=true)
85
82
 
86
83
  ### Color classes
@@ -1,3 +1,3 @@
1
1
  module DeLogger
2
- VERSION = "0.3.0.alpha3"
2
+ VERSION = "0.3.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: delogger
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0.alpha3
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexander Komarov
@@ -112,9 +112,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
112
112
  version: '0'
113
113
  required_rubygems_version: !ruby/object:Gem::Requirement
114
114
  requirements:
115
- - - ">"
115
+ - - ">="
116
116
  - !ruby/object:Gem::Version
117
- version: 1.3.1
117
+ version: '0'
118
118
  requirements: []
119
119
  rubyforge_project:
120
120
  rubygems_version: 2.6.8