Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type LogOptions ¶
type LogOptions struct { Verbosity int `name:"verbose" short:"v" type:"counter" default:"0" env:"LOG_LEVEL" help:"Set the verbosity of logs e.g. -vv."` LogTimestamp bool `default:"false" env:"LOG_TIMESTAMP" help:"Add timestamp to log output"` }
func (*LogOptions) ConfigureLog ¶
func (lo *LogOptions) ConfigureLog() error
Click to show internal directories.
Click to hide internal directories.