This commit is contained in:
2026-07-23 16:37:12 +02:00
parent 99c345f2f2
commit 0da75c1311
2159 changed files with 230833 additions and 0 deletions

12
kb-logging/Cargo.toml Normal file
View File

@@ -0,0 +1,12 @@
# file: kb-logging/Cargo.toml
# version: 1
[package]
name = "kb-logging"
version.workspace = true
edition.workspace = true
license.workspace = true
publish.workspace = true
[lints]
workspace = true

View File

@@ -0,0 +1,5 @@
// file: kb-logging/src/constants.rs
// version: 1
/// Canonical tracing target for this crate.
pub(crate) const TRACING_TARGET: &str = "kb-logging";

18
kb-logging/src/lib.rs Normal file
View File

@@ -0,0 +1,18 @@
// 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;
}