Hey all Just merged that follow-up logger PR. It ...
# 💻|contributing
b
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. https://github.com/garden-io/garden/pull/4138
4 Views