pub fn init(env_prefix: &str) -> Result<(), Box<dyn Error + Send + Sync>>Available on crate features
config and logger only.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.