19 lines
395 B
Rust
19 lines
395 B
Rust
// file: kb-logging/src/lib.rs
|
|
// version: 1
|
|
|
|
#![forbid(unsafe_code)]
|
|
#![deny(unreachable_pub)]
|
|
#![warn(missing_docs)]
|
|
|
|
//! Logging contracts for Khadhroony Bot3.
|
|
|
|
mod constants;
|
|
|
|
/// Canonical tracing target for this crate.
|
|
pub(crate) use crate::constants::TRACING_TARGET;
|
|
|
|
/// Returns the canonical tracing target.
|
|
pub fn tracing_target() -> &'static str {
|
|
return crate::TRACING_TARGET;
|
|
}
|