#LogTape 2.2.0 is out!
The headline is two new packages:
@logtape/lint adds lint rules for ESLint v8/v9 (flat config), Oxlint, and Deno Lint that catch common logging mistakes before they reach production: template literal interpolation in message arguments, eager property evaluation where lazy is needed, unawaited async log callbacks, and missing meta sink configuration.
@logtape/testing gives you createLogRecorder() and domain-aware assertion helpers, replacing the hand-rolled array-sink boilerplate that every project ends up writing.
Other highlights:
context: true on Express/Hono/Koa/Elysia middleware handles request ID generation, x-request-id header propagation, and implicit context. One option instead of several moving parts.
Seven performance optimizations on the enabled-logging hot path
New logtape.org website
Full release notes: https://github.com/dahlia/logtape/discussions/179
#JavaScript #TypeScript #Deno #Node #NodeJS #Bun #logging #opensource