pub fn init(env_prefix: &str) -> Result<(), Box<dyn Error + Send + Sync>>Expand description
Initialise all library components with default settings.
This is a convenience function that:
- Detects the runtime environment
- Sets up the logger with auto-detection
- Loads configuration with the given env prefix
§Errors
Returns an error if logger or config initialisation fails.