nexus_semantic_logger 1.3.1 → 1.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e650ec4b4c57cb7d85a5abde066ef34219502ff5d995e37fdf2b431833b2a086
|
4
|
+
data.tar.gz: 6285058765fa7ff89bf071714bcdd1978c83b4f64dfd17c2ddffc5a3843e190b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dfbe1816ddd0f82a9009e863b94d4efe76551a35511df893a74ef328b1fee41964b2b0bdeaa219355da3e3fa03e00e9e2fb3b129d2459bbea1332ba37069c6f4
|
7
|
+
data.tar.gz: 70bc5a9ba7bc1d24b8dbac2fc84afbf7bb94c39a48d34036ca6b59446d1293778802984268f38ef7b80adcb74397a04225edfc3173be481d830d0180c79b2e25
|
@@ -13,8 +13,18 @@ module NexusSemanticLogger
|
|
13
13
|
statsd&.flush(sync: Rails.env.development?) # Force flush sync in development, speed up checks.
|
14
14
|
end
|
15
15
|
|
16
|
-
|
17
|
-
|
16
|
+
# Delegate to statsd (if available).
|
17
|
+
# @param [String] metric Metric name.
|
18
|
+
def increment(metric)
|
19
|
+
statsd&.increment(metric, tags: tags)
|
20
|
+
flush
|
21
|
+
end
|
22
|
+
|
23
|
+
# Delegate to statsd (if available).
|
24
|
+
# @param [String] metric Metric name.
|
25
|
+
# @param [Integer] ms Timing in milliseconds.
|
26
|
+
def timing(metric, ms)
|
27
|
+
statsd&.timing(metric, ms, tags: tags)
|
18
28
|
flush
|
19
29
|
end
|
20
30
|
end
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
module NexusSemanticLogger
|
3
|
-
# Leave this as 1.3.
|
4
|
-
VERSION = '1.3.
|
3
|
+
# Leave this as 1.3.2 in order for CI process to replace with the tagged version.
|
4
|
+
VERSION = '1.3.2'
|
5
5
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nexus_semantic_logger
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Johnathon Harris
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-09-
|
11
|
+
date: 2022-09-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: amazing_print
|