func updateLogLevel(c *cli.Context, config *config.Config) { if c.GlobalString("loglevel") != "" { config.SetLogLevel(c.GlobalString("loglevel")) } }