05/01/2023, 4:12 PM
Hey all Just merged that follow-up logger PR. It fixes some issues with the first iteration but there's always a chance some other log lines look off. Please flag if you notice anything silly, such as badly placed durations, missing colors, etc. The notable difference is that in most cases you don't need to add extra config to log entries. E.g., now you can just do log.warn("oh noes") as opposed to log.warn({ msg: chalk.yellow("oh noes"), symbol: "warning}). So it's more opinionated in a way, but that could also break some existing lines. If we realise we need more control we can always re-introduce it, but it feels right to start conservatively.