refactor: use NewTextHandler instead of NewHandler for tint

This commit is contained in:
Elias Schneider
2026-07-24 17:27:54 +02:00
parent c57c27a004
commit 8563934fd5
@@ -99,7 +99,7 @@ func initOtelLogging(ctx context.Context, resource *resource.Resource) (shutdown
Level: level,
})
} else {
handler = tint.NewHandler(os.Stdout, &tint.Options{
handler = tint.NewTextHandler(os.Stdout, &tint.Options{
TimeFormat: time.Stamp,
Level: level,
NoColor: !isatty.IsTerminal(os.Stdout.Fd()),