lmittmann/tint

feat request: colorize the message

missedone opened this issue · 2 comments

@xy-planning-network has a nice feature on the forked repo: xy-planning-network@662ca54

looking forward to have this in tint

You can add custom coloring using the ReplaceAttr option or create/use a fork with this feature.

The output format is opinionated and I want the API to stay small and close to the slog.TextHandler. There are many requests for small format changes. So far the ReplaceAttr option seems like a good middle ground.

ReplaceAttr doesn't tell the log level, so hard to colorize per level