func (c Config) LogDBStats() bool {
	switch {
	case c.configFileSettings.Logging.Stats != nil:
		return *c.configFileSettings.Logging.Stats
	default:
		return defaultLogDBStats
	}
}
// LogDBStats returns the user-provided choice of whether database connection
// stats are logged periodically or the default value if not provided.
LogDBStats returns the user-provided choice of whether database connection
stats are logged periodically or the default value if not provided.
// LogDBStats returns the user - provided choice of whether database connection // stats are logged periodically or the default value if not provided .
func (c Config) LogDBStats() bool {
	switch {
	case c.configFileSettings.Logging.Stats != nil:
		return *c.configFileSettings.Logging.Stats
	default:
		return defaultLogDBStats
	}
}
func ( c Config ) LogDBStats ( ) bool { switch { case c . configFileSettings . Logging . Stats != nil : return * c . configFileSettings . Logging . Stats default : return defaultLogDBStats } }
LogDBStats returns the user-provided choice of whether database connection
stats are logged periodically or the default value if not provided.
LogDBStats returns the user - provided choice of whether database connection stats are logged periodically or the default value if not provided .