Documentation ¶
Index ¶
Constants ¶
View Source
const TimestampFormat = "2006-01-02 15:04:05.999999"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Format string `help:"Format to write log lines in" enum:"text,json" default:"text"` Level string `help:"Lowest log level that will be emitted" enum:"trace,debug,info,warn,error" default:"info"` File string `help:"File to direct logs to. If left blank, or '-', logs will go to stdout" default:"-"` }
Config contains the configuration for the global logger.
Click to show internal directories.
Click to hide internal directories.