logjam_agent 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/logjam_agent.rb +8 -0
- data/lib/logjam_agent/amqp_forwarder.rb +1 -1
- data/lib/logjam_agent/version.rb +1 -1
- metadata +3 -3
data/lib/logjam_agent.rb
CHANGED
@@ -15,6 +15,14 @@ module LogjamAgent
|
|
15
15
|
mattr_accessor :application_name
|
16
16
|
self.application_name = "rails"
|
17
17
|
|
18
|
+
def self.disable!
|
19
|
+
self.disabled = true
|
20
|
+
end
|
21
|
+
|
22
|
+
def self.enable!
|
23
|
+
self.disabled = false
|
24
|
+
end
|
25
|
+
|
18
26
|
mattr_accessor :disabled
|
19
27
|
self.disabled = false
|
20
28
|
end
|
data/lib/logjam_agent/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: logjam_agent
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 23
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 4
|
10
|
+
version: 0.0.4
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Stefan Kaes
|