minodes-sinatra-logger 0.2.5 → 0.2.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/minodes/sinatra/logger.rb +0 -4
- data/lib/minodes/sinatra/logger/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: 3ab96893ba24bdae05b0af063878aadf955180a3
|
4
|
+
data.tar.gz: 324bd2a0d6336300b0991e2dc5a6f675465690eb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0226e2a1d148f60254b7e051bc9ea806d3149bc5dcb053ac9176b29ad13fab60a6e397487d3823567886362765f21b0278a484668db11cafa7bba0a97484e9c6
|
7
|
+
data.tar.gz: 4fc0af1342558e366e7b515d5207f36ef2f6967b0374911f2188ffaa62a4caca5a4783d4b34c6a88b7905afc1c5639134b95921c1d83ae53161087f79bb642a9
|
@@ -31,10 +31,6 @@ module Minodes
|
|
31
31
|
|
32
32
|
config[:level] ||= :trace
|
33
33
|
|
34
|
-
::SemanticLogger.default_level = config[:level]
|
35
|
-
::SemanticLogger.appenders.each { |a| ::SemanticLogger.remove_appender(a) }
|
36
|
-
::SemanticLogger.add_appender(file_name: config[:filename], formatter: :color)
|
37
|
-
|
38
34
|
set :logging, true
|
39
35
|
use ::Rack::CommonLogger, ::SemanticLogger["Access"]
|
40
36
|
|