Documentation Index
Fetch the complete documentation index at: https://wiki.oquiz.net/llms.txt
Use this file to discover all available pages before exploring further.
Format
The logger uses pino’s positional-argument signature.- With context:
logger.warn({ userId, error }, 'Failed to update user'); - Without context:
logger.warn('Sentry is disabled in local environment');
msg:.
Capitalization
Every message starts with a capital letter — including template literals.Errors
Use the keyerror. It is consistent across services and serializes well with pino’s default errSerializer.
Levels
trace/debug— local development noise.info— routine state changes worth keeping in production logs (startup, job progress, successful background work).warn— recoverable failures, degraded paths, fallbacks.error— operations that failed and are not retried internally.fatal— process is going down.