@nwire/logger-pino 0.7.0 → 0.8.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 +1 -16
- package/package.json +5 -3
package/README.md
CHANGED
|
@@ -35,17 +35,7 @@ const app = createApp("learnflow", { modules, logger });
|
|
|
35
35
|
|
|
36
36
|
## When to use
|
|
37
37
|
|
|
38
|
-
Every production wire.
|
|
39
|
-
|
|
40
|
-
## Standalone use
|
|
41
|
-
|
|
42
|
-
For developers using `@nwire/logger-pino` **without the rest of Nwire** — pair it with any TypeScript project, any container, any HTTP framework.
|
|
43
|
-
|
|
44
|
-
```ts
|
|
45
|
-
// See the package's main entry (src/) for the standalone surface.
|
|
46
|
-
// The exports below work without @nwire/app or @nwire/forge.
|
|
47
|
-
import {} from /* ...standalone exports... */ "@nwire/logger-pino";
|
|
48
|
-
```
|
|
38
|
+
Every production wire.
|
|
49
39
|
|
|
50
40
|
## Within nwire-app
|
|
51
41
|
|
|
@@ -59,8 +49,3 @@ const app = createApp({
|
|
|
59
49
|
});
|
|
60
50
|
// Adapter/plugin wiring happens here when applicable.
|
|
61
51
|
```
|
|
62
|
-
|
|
63
|
-
## See also
|
|
64
|
-
|
|
65
|
-
- [Architecture sketch §05 — Adapters tier](../../architecture-sketch.html#packages)
|
|
66
|
-
- Sibling packages: [@nwire/logger](../nwire-logger), [@nwire/observability](../nwire-observability)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nwire/logger-pino",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.8.0",
|
|
4
4
|
"description": "Nwire — Pino-backed Logger adapter. Production-grade structured logging; envelope ids auto-attached via child().",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"adapter",
|
|
@@ -8,9 +8,11 @@
|
|
|
8
8
|
"nwire",
|
|
9
9
|
"pino"
|
|
10
10
|
],
|
|
11
|
+
"license": "MIT",
|
|
11
12
|
"files": [
|
|
12
13
|
"dist",
|
|
13
|
-
"README.md"
|
|
14
|
+
"README.md",
|
|
15
|
+
"LICENSE"
|
|
14
16
|
],
|
|
15
17
|
"type": "module",
|
|
16
18
|
"main": "./dist/logger-pino.js",
|
|
@@ -26,7 +28,7 @@
|
|
|
26
28
|
},
|
|
27
29
|
"dependencies": {
|
|
28
30
|
"pino": "^9.5.0",
|
|
29
|
-
"@nwire/logger": "0.
|
|
31
|
+
"@nwire/logger": "0.8.0"
|
|
30
32
|
},
|
|
31
33
|
"devDependencies": {
|
|
32
34
|
"@types/node": "^22.19.9",
|