itz_logger 0.3.2 → 0.3.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/itz_logger/log_file.rb +2 -2
- data/lib/itz_logger/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8deb723d6cdfb306fcdaeef6dc25d39d1f9941bdf998b492d79488a40c5545b4
|
4
|
+
data.tar.gz: e3d40e34d88b2a2e799a4b931d8ebb7e34254f618b8b609e250dcd6733b108d9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b012a110ee80e3db65858d693c6df224086e23228cd8e52576595c6f6c8ac923fc001ed633147b8037a1e2bd2faf75f36f9570580661c464eb144134f293b548
|
7
|
+
data.tar.gz: 187a7d50df8b4201fb9863e5424195d376ebf40cc751f9346300047861ea53d3bc9928cd9b48653f21da1892dffe092949470fe935a9faf6a15c0a13ab2fe5ad
|
data/Gemfile.lock
CHANGED
data/lib/itz_logger/log_file.rb
CHANGED
@@ -20,7 +20,7 @@ module ItzLogger
|
|
20
20
|
|
21
21
|
def initialize(
|
22
22
|
log_level = ItzLogger::MessageType::INFO,
|
23
|
-
log_file = '/
|
23
|
+
log_file = './log/logfile.log',
|
24
24
|
log_id = nil)
|
25
25
|
|
26
26
|
@log_level = log_level
|
@@ -104,7 +104,7 @@ module ItzLogger
|
|
104
104
|
|
105
105
|
begin
|
106
106
|
FileUtils.mkdir_p(path)
|
107
|
-
@log_file_handle = File.open(log_file)
|
107
|
+
@log_file_handle = File.open(log_file, 'w')
|
108
108
|
@log_file_handle.sync = true
|
109
109
|
rescue
|
110
110
|
@error_flag = true
|
data/lib/itz_logger/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: itz_logger
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Schaarschmidt
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-08-
|
11
|
+
date: 2018-08-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|