@loglayer/mixin-wide-events 1.1.0 → 1.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.
- package/README.md +15 -5
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -1,9 +1,19 @@
|
|
|
1
|
-
#
|
|
1
|
+
# wide-events mixin for LogLayer
|
|
2
2
|
|
|
3
|
-
[](https://www.npmjs.com/package/@loglayer/mixin-wide-events)
|
|
4
|
+
[](https://www.npmjs.com/package/@loglayer/mixin-wide-events)
|
|
5
5
|
[](http://www.typescriptlang.org/)
|
|
6
6
|
|
|
7
|
-
Adds wide event logging functionality to LogLayer
|
|
7
|
+
Adds wide event logging functionality to the [LogLayer](https://loglayer.dev) logging library, enabling comprehensive, self-contained log entries that capture an entire operation's context using Node.js `AsyncLocalStorage`.
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
The mixin provides methods to accumulate data across async boundaries and emit it as a single log entry, along with built-in sampling support.
|
|
10
|
+
|
|
11
|
+
## Installation
|
|
12
|
+
|
|
13
|
+
```bash
|
|
14
|
+
npm install loglayer @loglayer/mixin-wide-events
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
## Documentation
|
|
18
|
+
|
|
19
|
+
For more details, visit [https://loglayer.dev/mixins/wide-events](https://loglayer.dev/mixins/wide-events).
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@loglayer/mixin-wide-events",
|
|
3
3
|
"description": "Adds wide event logging functionality to LogLayer for comprehensive, self-contained log entries.",
|
|
4
|
-
"version": "1.1.
|
|
4
|
+
"version": "1.1.1",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
7
7
|
"module": "./dist/index.mjs",
|
|
@@ -37,9 +37,9 @@
|
|
|
37
37
|
"tsdown": "0.22.0",
|
|
38
38
|
"typescript": "6.0.3",
|
|
39
39
|
"vitest": "4.1.7",
|
|
40
|
+
"@internal/tsconfig": "2.1.0",
|
|
40
41
|
"@loglayer/shared": "4.2.0",
|
|
41
|
-
"loglayer": "9.2.0"
|
|
42
|
-
"@internal/tsconfig": "2.1.0"
|
|
42
|
+
"loglayer": "9.2.0"
|
|
43
43
|
},
|
|
44
44
|
"peerDependencies": {},
|
|
45
45
|
"bugs": "https://github.com/loglayer/loglayer/issues",
|