RUL 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +0 -1
- data/lib/rul/rul.rb +1 -4
- data/rul.gemspec +1 -1
- metadata +1 -1
data/Gemfile
CHANGED
data/lib/rul/rul.rb
CHANGED
@@ -1,8 +1,5 @@
|
|
1
|
-
require 'uuid'
|
2
|
-
|
3
1
|
module RUL
|
4
2
|
module Logging
|
5
|
-
@@uuid = UUID.new
|
6
3
|
|
7
4
|
def self.included(base)
|
8
5
|
base.class_eval do
|
@@ -11,7 +8,7 @@ module RUL
|
|
11
8
|
end
|
12
9
|
|
13
10
|
def add_with_uuid_info severity, message=nil, progname=nil, &block
|
14
|
-
uuid =
|
11
|
+
uuid = session['session_id']
|
15
12
|
unless message.include?(uuid)
|
16
13
|
message = "#{uuid} - #{message}"
|
17
14
|
end
|
data/rul.gemspec
CHANGED