highlight_io 0.1.0 → 0.1.1
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 +4 -4
- data/lib/highlight/version.rb +1 -1
- data/lib/highlight.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d09ceca8725f51580050adbef048cda5243a034086fe457991812dc394cf0fad
|
|
4
|
+
data.tar.gz: f4ec9278867f1d38c8445634b5f908f44458c69d7b9f123b19a2b046b65c7a2b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2c13cee27289c7ee56b4db9c87b914a1037e2ceb9208154a8a78698dc7faf42f7ce03e52e2515ffd2e33dc9f810f0da4ebd700107132090b29aca2d1d700079e
|
|
7
|
+
data.tar.gz: c4004dee30f2e619fcc1276562e3918fc92225f30e30bfe0e80851af1febdb4d2d6b6863bafd07500c70ccb21be44b31f1b38861c066383d188d413859fea1f8
|
data/lib/highlight/version.rb
CHANGED
data/lib/highlight.rb
CHANGED
|
@@ -64,7 +64,7 @@ module Highlight
|
|
|
64
64
|
span.record_exception(e)
|
|
65
65
|
end
|
|
66
66
|
|
|
67
|
-
def record_log(session_id, request_id, level, message)
|
|
67
|
+
def record_log(session_id, request_id, level, message, attrs = {})
|
|
68
68
|
caller_info = caller[0].split(":", 3)
|
|
69
69
|
function = caller_info[2]
|
|
70
70
|
if function
|
|
@@ -86,7 +86,7 @@ module Highlight
|
|
|
86
86
|
CODE_FILEPATH => caller_info[0],
|
|
87
87
|
CODE_LINENO => caller_info[1],
|
|
88
88
|
CODE_FUNCTION => function,
|
|
89
|
-
})
|
|
89
|
+
}.merge(attrs))
|
|
90
90
|
end
|
|
91
91
|
end
|
|
92
92
|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: highlight_io
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Highlight
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2023-
|
|
11
|
+
date: 2023-06-05 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: opentelemetry-sdk
|