Skip to main content

GetConfig

Retrieves the current global configuration for storage. If the configuration cannot be retrieved, it logs a warning and returns nil.

def GetConfig() - > *Config

Retrieves the current global configuration for storage. This function is used to access the active configuration settings. If the configuration cannot be retrieved, a warning is logged, and nil is returned.

Returns

TypeDescription
*ConfigThe current global configuration object, or nil if retrieval fails.