GunnyLog 1.1.2 → 1.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 17368c22fc5f1279827159a0bd99a59317478731
4
- data.tar.gz: 57093350601cdf4c1b5418ae22a2a5c05bcab9e8
3
+ metadata.gz: 8460a42409aa5a2824b78a0604be757baf9f6414
4
+ data.tar.gz: e17c9e2f7fccc226db4168ee44d697b0e3d70f77
5
5
  SHA512:
6
- metadata.gz: 357dbb6aedd7b7da3ba74c76b46d05ff265edad2ecb78dfb7d95d0744e3ed536b4f9ff2d4b8a49e3818d4156ccddd39557613dcbd5e2bd771b842cf02e5c74d2
7
- data.tar.gz: 5e8dd8e0dfa99761efc21d54dcd4c6c81296269a366d76531a0b5ca17ff3968d7d8e5906a5c245c1769c739b5706573d0c84761fa9bdd682851b0fe30faea0ce
6
+ metadata.gz: 3ae208e3ab2bf6ebcb2f6e39849a5826878e5ea01e5669120d07b9122d3d1f3ee269ecd6d061806dd136b44277c655b6df123142355ce4eebd2265e4f9098fc8
7
+ data.tar.gz: f41ac19bf914eb7266ba4c6dfc6915b2e2f6cf9e20cd48baea90d7cd1575e701d80be2034ca5123a0207bd2d2e2082abceffad0d5a5b432334e25e777ea352de
data/lib/GunnyLog.rb CHANGED
@@ -1,6 +1,5 @@
1
1
  # GunnyLog class
2
2
  require 'GunnyLog/exceptions'
3
- require 'GunnyLog/severity'
4
3
  require 'singleton'
5
4
  require 'date'
6
5
 
@@ -15,7 +14,7 @@ class GunnyLog
15
14
 
16
15
  private
17
16
 
18
- VERSION = '1.1.2'
17
+ VERSION = '1.1.3'
19
18
  DEBUG_FLAG = false
20
19
 
21
20
  # public class attributes
@@ -192,10 +191,10 @@ class GunnyLog
192
191
 
193
192
  # initialize
194
193
  def initialize
195
- local_debug('initialize')
194
+ #local_debug('initialize')
196
195
  @logging_enabled = true
197
- @logging_severity = GunnyLogSeverity::DEBUG
198
- local_debug('initialize', sprintf('Log level = %d',@logging_severity) )
196
+ #@logging_severity = GunnyLogSeverity::DEBUG
197
+ #local_debug('initialize', sprintf('Log level = %d',@logging_severity) )
199
198
  @message_location = 'MainMethod'
200
199
  @file_open = false
201
200
  @logging_file = STDOUT
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: GunnyLog
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.2
4
+ version: 1.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - GunnyHwy
@@ -18,7 +18,6 @@ extra_rdoc_files: []
18
18
  files:
19
19
  - lib/GunnyLog.rb
20
20
  - lib/GunnyLog/exceptions.rb
21
- - lib/GunnyLog/severity.rb
22
21
  - README.md
23
22
  homepage: http://rubygems.org/gems/GunnyLog
24
23
  licenses:
@@ -1,9 +0,0 @@
1
- # Severity or log level
2
- class GunnyLogSeverity
3
- DEBUG = 0
4
- INFO = 1
5
- WARN = 2
6
- ERROR = 3
7
- FATAL = 4
8
- UNKNOWN = 5
9
- end