21 lines
690 B
Rust
21 lines
690 B
Rust
// file: crates/common/game-logging-lib/src/lib.rs
|
|
// version: 2
|
|
|
|
#![warn(missing_docs)]
|
|
#![deny(unreachable_pub)]
|
|
#![forbid(unsafe_code)]
|
|
|
|
//! Shared tracing initialization and test diagnostics for games.sasedev applications and crates.
|
|
|
|
mod runtime;
|
|
mod test_support;
|
|
|
|
/// Re-export of the platform tracing initialization error.
|
|
pub use self::runtime::LoggingInitError;
|
|
/// Re-export of the guard keeping platform tracing resources alive.
|
|
pub use self::runtime::LoggingWorkerGuard;
|
|
/// Re-export of the platform tracing initializer.
|
|
pub use self::runtime::init_console_tracing;
|
|
/// Re-export of the scoped tracing helper intended for tests.
|
|
pub use self::test_support::with_test_tracing;
|