func (c Config) LogLevel() string {
	switch {
	case c.flagSettings.LogLevel != nil:
		return *c.flagSettings.LogLevel
	case c.configFileSettings.Logging.Level != nil:
		return *c.configFileSettings.Logging.Level
	default:
		return defaultLogLevel
	}
}
// LogLevel returns the user-provided logging level or the default value if
// not provided. CLI flag values take precedence if provided.
LogLevel returns the user-provided logging level or the default value if
not provided. CLI flag values take precedence if provided.
// LogLevel returns the user - provided logging level or the default value if // not provided . CLI flag values take precedence if provided .
func (c Config) LogLevel() string {
	switch {
	case c.flagSettings.LogLevel != nil:
		return *c.flagSettings.LogLevel
	case c.configFileSettings.Logging.Level != nil:
		return *c.configFileSettings.Logging.Level
	default:
		return defaultLogLevel
	}
}
func ( c Config ) LogLevel ( ) string { switch { case c . flagSettings . LogLevel != nil : return * c . flagSettings . LogLevel case c . configFileSettings . Logging . Level != nil : return * c . configFileSettings . Logging . Level default : return defaultLogLevel } }
LogLevel returns the user-provided logging level or the default value if
not provided.
LogLevel returns the user - provided logging level or the default value if not provided .