Make the no tty formatter configurable
firefart opened this issue · comments
Christian Mehlmauer commented
It would be nice to have the default fallback formatter when "no TTY is present" configurable. Like log.SetNoTTYFormatter(&log.JSONFormatter{})
.
Currently it defaults to TextFormatter
but in my case I would like to save it automatically as a JSON when being redirected.
github-actions commented
This issue is stale because it has been open for 30 days with no activity.
Christian Mehlmauer commented
This issue is still relevant
github-actions commented
This issue is stale because it has been open for 30 days with no activity.
github-actions commented
This issue was closed because it has been inactive for 14 days since being marked as stale.