//! Bounded, transport-neutral runtime diagnostics for Kaptan. //! //! This crate deliberately contains no MAVLink, board, filesystem, clock, or //! configuration dependency. Flight code reports bounded text records to a //! hub; a platform-owned adapter may later encode them for a link. //! Reporting is observational and must never influence flight control or //! actuator authority. #![no_std] extern crate self as kaptan_log; #[cfg(test)] extern crate std; pub mod crash; #[cfg(feature = "facade")] pub mod facade; pub mod filter; pub mod hub; pub mod level; pub mod mailbox; pub mod report; pub mod shutdown; pub mod text; pub use crash::{CrashKind, CrashRecord, CrashRecordError}; pub use filter::LogFilter; pub use hub::{EventHub, HubHealth, PublishOutcome, TransportAdmission}; pub use kaptan_log_derive::KaptanError; pub use level::Severity; pub use mailbox::StaticErrorMailbox; pub use report::{DeliveryClass, ErrorReport, LogFlags, LogRecord, RecordChannel, StaticError}; pub use shutdown::{ShutdownReason, ShutdownReport}; pub use text::{ErrorAdditionalInformation, ErrorPath, LogText, MAXIMUM_LOG_TEXT_BYTES}; #[cfg(feature = "facade")] pub use facade::FacadeHealth; #[cfg(feature = "facade")] pub use facade::{FacadeIngress, GlobalLogger}; /// Re-export of the standard Rust logging facade when an image opts into the /// bounded atomic ingress. #[cfg(feature = "facade")] pub use log;