autoagents/
lib.rs

1// Re-export for convenience
2pub use async_trait::async_trait;
3pub use autoagents_core::{self as core, error as core_error};
4pub use autoagents_llm::{self as llm, error as llm_error};
5pub mod prelude;
6
7#[inline]
8/// Initialize logging using env_logger if the "logging" feature is enabled.
9/// This is a no-op if the feature is not enabled.
10pub fn init_logging() {
11    #[cfg(feature = "logging")]
12    {
13        let _ = env_logger::try_init();
14    }
15}