logger
sys / loggerutility2026-11-17
createLogger(import.meta.url) prints a coloured [module/path] prefix, so a line from a nested shim is recognisable at a glance.
The palette is fixed per module in one table: debug goes grey, info takes the module colour, warn is yellow and error is red — no configuration at call sites.