crtu 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/crtu/utils/logger.rb +2 -2
- data/lib/crtu/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4db142452a60691b7a4b56594f5d74fd57af01e9
|
4
|
+
data.tar.gz: 4a721c3cb9d38d7a11519fe23dcb30cfdeb2f2f6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0ca9947b403a86d19406825e9ea7726dfb220b9828c328c756ef9c3b0e3a0d198c5ae7627b7563dc5e09f2974f8bb422588569c3baeae1407a65288e36db989e
|
7
|
+
data.tar.gz: 125fb19202914d4e79c5a73de309f42e799c8d5a93290866977eaa9be7af76c68c659529ee2b702478283ddbecf651ba735ad6cdf421eafd031ac3b1cbc7c2a9
|
data/lib/crtu/utils/logger.rb
CHANGED
@@ -107,7 +107,7 @@ module Utils
|
|
107
107
|
# Class simple file logger. Message is stored in file, but
|
108
108
|
# it does not appear on stdout
|
109
109
|
def file_logger
|
110
|
-
log_file = (LOCAL_LOGGER_LOG_FILE.nil?) ? File.join(Dir.tmpdir , "#{self.class
|
110
|
+
log_file = (LOCAL_LOGGER_LOG_FILE.nil?) ? File.join(Dir.tmpdir , "#{self.class}.log") : LOCAL_LOGGER_LOG_FILE
|
111
111
|
@logger = Log4r::Logger.new('LocalLoggerFile')
|
112
112
|
pf = PatternFormatter.new(:pattern => "[%l] : #{self.class} @ %d : %M")
|
113
113
|
|
@@ -124,7 +124,7 @@ module Utils
|
|
124
124
|
|
125
125
|
# Class wide console and file logger. Message appears on console output and it's stored on file
|
126
126
|
def all_logger
|
127
|
-
log_file = (LOCAL_LOGGER_LOG_FILE.nil?) ? File.join(Dir.tmpdir , "#{self.class
|
127
|
+
log_file = (LOCAL_LOGGER_LOG_FILE.nil?) ? File.join(Dir.tmpdir , "#{self.class}.log") : LOCAL_LOGGER_LOG_FILE
|
128
128
|
@logger = Log4r::Logger.new('LocalLoggerConsoleAndFile')
|
129
129
|
pf = PatternFormatter.new(:pattern => "[%l] : #{self.class} @ %d : %M")
|
130
130
|
|
data/lib/crtu/version.rb
CHANGED