scout_apm 2.0.0.pre4 → 2.0.0.pre5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/scout_apm/config.rb +12 -2
- data/lib/scout_apm/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6fa86ad784b0be8420776e79fcb62eeb5c350f5f
|
4
|
+
data.tar.gz: a89bf58be9cd96037bc7795fe829a6cfb970a979
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 98c75875afce984f011e778f76f9f0208b9b409181c333ea30a734d373aa63fd1c959688ce3c8e3f2c48962a231c6493b00e74c740fdb0a1c2ca404f14b7c6bd
|
7
|
+
data.tar.gz: f1c2458e1e1edb4881a668c9d94f4ccfab902fe3bf45dc0ab0329ee8488d2a5e5d21c0025103a6edf7cc14c4b71709399ebf9e2930fcb70fa0212091656360de
|
data/lib/scout_apm/config.rb
CHANGED
@@ -164,9 +164,19 @@ module ScoutApm
|
|
164
164
|
ScoutApm::Environment.instance.env
|
165
165
|
end
|
166
166
|
|
167
|
-
# TODO: Make this better
|
168
167
|
def logger
|
169
|
-
ScoutApm::Agent.instance.logger
|
168
|
+
if ScoutApm::Agent.instance.logger
|
169
|
+
return ScoutApm::Agent.instance.logger
|
170
|
+
else
|
171
|
+
l = Logger.new(STDOUT)
|
172
|
+
if ENV["SCOUT_LOG_LEVEL"] == "debug"
|
173
|
+
l.level = Logger::DEBUG
|
174
|
+
else
|
175
|
+
l.level = Logger::INFO
|
176
|
+
end
|
177
|
+
|
178
|
+
return l
|
179
|
+
end
|
170
180
|
end
|
171
181
|
end
|
172
182
|
end
|
data/lib/scout_apm/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: scout_apm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.0.
|
4
|
+
version: 2.0.0.pre5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Derek Haynes
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2016-06-
|
12
|
+
date: 2016-06-28 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rusage
|