// GetLogLevel retrieves the desired log level from settings.
//
// NOTE: This should only be called after viper initializes
GetLogLevel retrieves the desired log level from settings.

This should only be called after viper initializes
// GetLogLevel retrieves the desired log level from settings . // // NOTE : This should only be called after viper initializes
func GetLogLevel() log.Level {
	if lvl, err := log.ParseLevel(viper.GetString("log.level")); err == nil {
		return lvl
	}
	log.Info("Unable to parse log level. Defaulting to INFO")
	return log.InfoLevel
}
func GetLogLevel ( ) log . Level { if lvl , err := log . ParseLevel ( viper . GetString ( " " ) ) ; err == nil { return lvl } log . Info ( " " ) return log . InfoLevel }
GetLogLevel retrieves the desired log level from settings.
GetLogLevel retrieves the desired log level from settings .