11. Logging
@damatjs/logger is a structured logger
with levels (debug/info/success/warn/error/fatal/skip), formats
(json/pretty/simple), child/prefixed loggers, and optional file transport.
Configure it via projectConfig.loggerConfig (see
Configuration); access it through the global helpers or a
child logger:
import { getGlobalLogger } from "@damatjs/logger";
const log = getGlobalLogger().child({ requestId });
log.info("user created", { userId });