pub fn setup_logging() -> Result<LoggingGuard>