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