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

This should only be called after viper initializes
// GetLogFormatter retrieves the desired log formatter from settings . // // NOTE : This should only be called after viper initializes
func GetLogFormatter() log.Formatter {
	fmt := viper.GetBool("log.json")
	if fmt {
		return &log.JSONFormatter{}
	}
	return &log.TextFormatter{}
}
func GetLogFormatter ( ) log . Formatter { fmt := viper . GetBool ( " " ) if fmt { return & log . JSONFormatter { } } return & log . TextFormatter { } }
GetLogFormatter  retrieves the desired log formatter from settings.
GetLogFormatter retrieves the desired log formatter from settings .