Pino logger adapterLet Sidequest write logs the way the app already does
- What changed
- A logger: { adapter: "pino" } option backed by a small registry. The engine runs in a forked process and jobs run in worker threads, so a logger object cannot cross over; each process and thread builds its own logger from plain config. In review the creator found that only the first log line per thread appeared. I traced it to pino's asynchronous stdout, switched to a synchronous destination and added a test that fails without the fix.Sidequest could only write its logs in one style, so apps using another popular style got two kinds of logs mixed together. I added the second style. The project's creator then spotted that most log lines were going missing in one setup; I found why, fixed it, and added a check so it can't quietly come back.
- Why it mattered
- Apps on pino get one consistent log stream, none of the 100+ existing log calls had to change, and adding another logger later is one factory and one map entry.Teams using Sidequest can read all their logs in one place, and adding more styles later is a small job.
Merged 14 Oct 2026, shipped in v1.17.0. +705 / −11 lines in 13 files. 1,021 stars.