@larvit/log 1.3.0 → 1.4.0
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.
- package/README.md +7 -0
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -80,6 +80,13 @@ const log = new Log({
|
|
|
80
80
|
return `${logLevel}: ${msg} ${JSON.stringify(metadata)}`;
|
|
81
81
|
},
|
|
82
82
|
|
|
83
|
+
// Open Telemetry additional http headers
|
|
84
|
+
// For example:
|
|
85
|
+
// { Authorization: "Bearer xxx" }
|
|
86
|
+
// Defaults to null
|
|
87
|
+
// Added in 1.4.0
|
|
88
|
+
otlpAdditionalHeaders: null,
|
|
89
|
+
|
|
83
90
|
// Open Telemetry http endpoint to send spans, traces and logs to.
|
|
84
91
|
// For example http://127.0.0.1:4318
|
|
85
92
|
// Defaults to null
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@larvit/log",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.4.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"packageManager": "yarn@4.5.1",
|
|
@@ -14,11 +14,11 @@
|
|
|
14
14
|
"devDependencies": {
|
|
15
15
|
"@larvit/eslint-config-typescript-esm": "1.2.1",
|
|
16
16
|
"@randomgoods/tap-spec": "5.0.4",
|
|
17
|
-
"@types/express": "
|
|
18
|
-
"@types/node": "22.
|
|
17
|
+
"@types/express": "5.0.0",
|
|
18
|
+
"@types/node": "22.9.1",
|
|
19
19
|
"@types/tape": "5.6.4",
|
|
20
20
|
"eslint": "8.57.1",
|
|
21
|
-
"express": "
|
|
21
|
+
"express": "5.0.0",
|
|
22
22
|
"tape": "5.9.0",
|
|
23
23
|
"ts-node": "10.9.2",
|
|
24
24
|
"typescript": "5.6.3",
|