func Init(force bool) error { // Set up logging. log.SetV(log.MustStringToLevel(LogFlag.Value())) // Make sure the repo is initialised. if err := repo.Init(force); err != nil { return err } return nil }
func InitLogging() { // Set up logging. log.SetV(log.MustStringToLevel(appflags.FlagLog.Value())) }