0.1.0-0-pre.4
This commit is contained in:
20
crates/common/game-logging-lib/src/lib.rs
Normal file
20
crates/common/game-logging-lib/src/lib.rs
Normal file
@@ -0,0 +1,20 @@
|
||||
// file: crates/common/game-logging-lib/src/lib.rs
|
||||
// version: 1
|
||||
|
||||
#![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 console tracing initialization error.
|
||||
pub use self::runtime::LoggingInitError;
|
||||
/// Re-export of the guard keeping the non-blocking tracing writer alive.
|
||||
pub use self::runtime::LoggingWorkerGuard;
|
||||
/// Re-export of the standard console 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;
|
||||
Reference in New Issue
Block a user