Document new option

This commit is contained in:
Giovanni Bajo 2014-12-15 21:58:26 +01:00
parent 3e9d38f80d
commit f0a637a834
1 changed files with 4 additions and 2 deletions

View File

@ -34,6 +34,8 @@ type TextFormatter struct {
// Set to true to bypass checking for a TTY before outputting colors.
ForceColors bool
DisableColors bool
// Set to true to disable timestamp logging (useful when the output
// is redirected to a logging system already adding a timestamp)
DisableTimestamp bool
}