colorized stdout logger if stdout is tty
This commit is contained in:
@@ -197,6 +197,7 @@ type LoggingOutletCommon struct {
|
||||
type StdoutLoggingOutlet struct {
|
||||
LoggingOutletCommon `yaml:",inline"`
|
||||
Time bool `yaml:"time,default=true"`
|
||||
Color bool `yaml:"color,default=true""`
|
||||
}
|
||||
|
||||
type SyslogLoggingOutlet struct {
|
||||
|
||||
Reference in New Issue
Block a user