sappho-basics 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
@@ -27,7 +27,7 @@ module Sappho
|
|
27
27
|
def initialize
|
28
28
|
@mutex = Mutex.new
|
29
29
|
filename = ENV['application.log.filename']
|
30
|
-
@log = Logger.new(filename ? open(filename, 'a') : $stdout)
|
30
|
+
@log = Logger.new(filename ? File.open(filename, 'a') : $stdout)
|
31
31
|
level = ENV['application.log.level']
|
32
32
|
@log.level = LOG_LEVELS.has_key?(level) ? LOG_LEVELS[level] : Logger::INFO
|
33
33
|
detail = ENV['application.log.detail']
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sappho-basics
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 21
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 5
|
10
|
+
version: 0.0.5
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Andrew Heald
|