minodes-sinatra-logger 0.2.1 → 0.2.2
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 +5 -1
- 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: fe5ce0f68d6817212215290d0c7bb9fa099adcac
|
4
|
+
data.tar.gz: 57f2f2dd2c25b7caffd11b97cf3098d2fb36a30d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 88e21df5f52a719e88e1774d58695b400aeb22885b54622b5a67e6819a81ba202d01c7a06a6ccf417a078be1d0b43779dc3dd1d7af7ce876eb051bacf96f4a9d
|
7
|
+
data.tar.gz: 6c127dd8cf38c9ed7d95a5db0e57fb5399bd9dfda2af627211e17a6f84406d6c9be4332c27957ca9d9aea79b6a45ad642accf9061d35d91eea6132b1ef88d146
|
@@ -1,4 +1,4 @@
|
|
1
|
-
|
1
|
+
actirequire "minodes/sinatra/logger/version"
|
2
2
|
require "sinatra"
|
3
3
|
require "rack"
|
4
4
|
require 'rack/body_proxy'
|
@@ -12,6 +12,10 @@ module Minodes
|
|
12
12
|
def puts(msg)
|
13
13
|
SemanticLogger["Error"].error msg
|
14
14
|
end
|
15
|
+
|
16
|
+
def flush
|
17
|
+
SemanticLogger.flush
|
18
|
+
end
|
15
19
|
end
|
16
20
|
|
17
21
|
module Logger
|