widelogger 0.1.6 → 0.2.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 +2 -0
- package/dist/index.js +4 -4288
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -177,6 +177,8 @@ Bun.serve({
|
|
|
177
177
|
|
|
178
178
|
Instead of scattered `console.log` calls, each request produces a single JSON log line containing service metadata, user info, order details, timing, and outcome.
|
|
179
179
|
|
|
180
|
+
You can see full working examples in the [examples/](./examples) directory for [Bun](./examples/bun), [Express](./examples/express), [Hono](./examples/hono), and [Fastify](./examples/fastify).
|
|
181
|
+
|
|
180
182
|
### Dot Notation
|
|
181
183
|
|
|
182
184
|
Keys use dot notation which expands to nested objects in the output. Keys are type-checked at compile time — empty strings, leading/trailing dots, and double dots are all rejected.
|