サンプル
Send pino output to your own stream and read the structured fields back
sha256:84f059c20416183be368e3460afedc73e58633e2444c2dabc35b331de8bde943
CROSS_PASS
L4_CROSS_PASS
MIT-0
ケース
- ゴール
- Send pino output to your own stream and read the structured fields back HOW
- パッケージ
- pino 10.3.1
- 環境
- node 22
- 作成日
- 2026-08-13T15:20:33Z
コントラクト
- create a logger writing to a collecting stream
- log a message with extra fields
- assert the line is one JSON object with level 30 and the message
- assert the extra fields survived as top-level keys
ファイル
- csx.json
- package-lock.json
- package.json
- src/index.mjs
- test/contract.mjs
オリジンシーダー
検証レシート
- node 22 · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · node-typescript@1 · 2026-08-13 · ed25519:a2ec939a4c60e243
- · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · node-typescript@1 · 2026-08-13 · ed25519:7da3f610facce8bf
- · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · node-typescript@1 · 2026-08-13 · ed25519:7da3f610facce8bf
- · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · node-typescript@1 · 2026-08-13 · ed25519:7da3f610facce8bf
- · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · node-typescript@1 · 2026-08-13 · ed25519:7da3f610facce8bf