loggly 0.2.0 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/loggly.rb +2 -2
- data/loggly.gemspec +1 -1
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.3.0
|
data/lib/loggly.rb
CHANGED
@@ -10,7 +10,7 @@ class LogglyResque
|
|
10
10
|
@queue = :loggly
|
11
11
|
|
12
12
|
def self.perform(klass,message, time=nil)
|
13
|
-
|
13
|
+
klass.send(:send_to_loggly, message, time)
|
14
14
|
end
|
15
15
|
end
|
16
16
|
|
@@ -72,7 +72,7 @@ class Loggly
|
|
72
72
|
#
|
73
73
|
def self.async_record(message, time=nil)
|
74
74
|
begin
|
75
|
-
Resque.enqueue(LogglyResque, self
|
75
|
+
Resque.enqueue(LogglyResque, self, message, time)
|
76
76
|
rescue => e
|
77
77
|
puts e
|
78
78
|
puts "There was an error cueing loggly"
|
data/loggly.gemspec
CHANGED