Skip to main content Crate embystream Copy item path Source pub use api::EmbyAPI ;pub use api::OpenListAPI ;pub use api::PhotoMessage ;pub use api::TelegramAPI ;pub use api::TextMessage ;pub use cache::FileMetadata ;pub use cache::GeneralCache ;pub use client::GoogleDriveClient ;pub use client::ClientBuilder ;pub use client::EmbyClient ;pub use client::OpenListClient ;pub use client::TelegramClient ;pub use gateway::MiddlewareContext ;pub use app ::*;pub use core ::*;pub use crypto ::*;pub use domain ::*;pub use error ::*;pub use network ::*;pub use system ::*;pub use util ::*;api app auth cache cli cli_lang CLI --lang handling and localized --help text (zh vs default en). cli_wizard Interactive embystream config wizard (prompts follow --lang). client config core crypto defaults domain error gateway i18n JSON-backed UI strings (locales/en.json, locales/zh.json).
Missing keys in zh fall back to en; if still missing, the key string is returned. logger macros network HTTP helpers: plugin hooks around a shared reqwest client (provider). oauthutil system util _log_internal Internal macro used by all log level macros (trace_log!, info_log!, etc.).
Automatically formats log output as: [DOMAIN] formatted_message
Supports both literal and dynamic format strings.
Not intended to be called directly by external users. config_debug_log config_error_log config_info_log config_log config_warn_log debug_log Logs a message at DEBUG level, with optional domain support. error_log Logs a message at ERROR level, with optional domain support. info_log Logs a message at INFO level, with optional domain support. time_operation Macro to time an operation and log if it exceeds threshold. trace_log Logs a message at TRACE level, with optional domain support.
Examples:
trace_log!(“Init done.”);
trace_log!(“Domain”, “Loaded config: {:?}”, config); warn_log Logs a message at WARN level, with optional domain support.