func (l *Log) AddFlags(f *gnuflag.FlagSet) {
	f.StringVar(&l.Path, "log-file", "", "path to write log to")
	f.BoolVar(&l.Verbose, "v", false, "show more verbose output")
	f.BoolVar(&l.Verbose, "verbose", false, "show more verbose output")
	f.BoolVar(&l.Quiet, "q", false, "show no informational output")
	f.BoolVar(&l.Quiet, "quiet", false, "show no informational output")
	f.BoolVar(&l.Debug, "debug", false, "equivalent to --show-log --logging-config=<root>=DEBUG")
	f.StringVar(&l.Config, "logging-config", l.DefaultConfig, "specify log levels for modules")
	f.BoolVar(&l.ShowLog, "show-log", false, "if set, write the log file to stderr")
}
// AddFlags adds appropriate flags to f.
AddFlags adds appropriate flags to f.
// AddFlags adds appropriate flags to f .
func (l *Log) AddFlags(f *gnuflag.FlagSet) {
	f.StringVar(&l.Path, "log-file", "", "path to write log to")
	f.BoolVar(&l.Verbose, "v", false, "show more verbose output")
	f.BoolVar(&l.Verbose, "verbose", false, "show more verbose output")
	f.BoolVar(&l.Quiet, "q", false, "show no informational output")
	f.BoolVar(&l.Quiet, "quiet", false, "show no informational output")
	f.BoolVar(&l.Debug, "debug", false, "equivalent to --show-log --logging-config=<root>=DEBUG")
	f.StringVar(&l.Config, "logging-config", l.DefaultConfig, "specify log levels for modules")
	f.BoolVar(&l.ShowLog, "show-log", false, "if set, write the log file to stderr")
}
func ( l * Log ) AddFlags ( f * gnuflag . FlagSet ) { f . StringVar ( & l . Path , " " , " " , " " ) f . BoolVar ( & l . Verbose , " " , false , " " ) f . BoolVar ( & l . Verbose , " " , false , " " ) f . BoolVar ( & l . Quiet , " " , false , " " ) f . BoolVar ( & l . Quiet , " " , false , " " ) f . BoolVar ( & l . Debug , " " , false , " " ) f . StringVar ( & l . Config , " " , l . DefaultConfig , " " ) f . BoolVar ( & l . ShowLog , " " , false , " " ) }
AddFlags adds appropriate flags to f.
AddFlags adds appropriate flags to f .