scout_apm_logging 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/lib/scout_apm/logging/loggers/logger.rb +7 -1
- data/lib/scout_apm/logging/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 820ef17ae470e00a8860d6cb25ba09fb908c5c1c2396a564144e8336be787c0f
|
4
|
+
data.tar.gz: 3338d6fbdc74aa519db27e0017b23af3ede6f6bf7a1e3df4c10ca798e6bc6331
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2e2e011988efb53ed021f0003efab939181af9df79f5ac7b90eea773c0cbf87641f410ea34b4904022bce5ab37f310287e4a04293bee53c66d9d16d988b0aa20
|
7
|
+
data.tar.gz: '086fd228d639e53c693e05d9cd43f6200cd38f3df7dfa087e1f609fc51dec9b1621e51f06bf1c68eddaed19188c0772250b7249fa550e7a3f5d96a45519cd8f6'
|
data/CHANGELOG.md
CHANGED
@@ -62,7 +62,13 @@ module ScoutApm
|
|
62
62
|
capture_level = context.config.value('logs_capture_level')
|
63
63
|
capture_value = ::Logger::Severity.const_get(capture_level.upcase)
|
64
64
|
|
65
|
-
|
65
|
+
log_instance_value = if log_instance.level.is_a?(Integer)
|
66
|
+
log_instance.level
|
67
|
+
else
|
68
|
+
::Logger::Severity.const_get(log_instance.level.to_s.upcase)
|
69
|
+
end
|
70
|
+
|
71
|
+
[capture_value, log_instance_value].max
|
66
72
|
end
|
67
73
|
|
68
74
|
def find_log_destination(logdev)
|