summaryrefslogtreecommitdiff
path: root/rust/src/logger.rs
diff options
context:
space:
mode:
authorMason Reed <mason@vector35.com>2025-12-19 19:52:39 -0500
committerMason Reed <35282038+emesare@users.noreply.github.com>2026-01-11 10:36:01 -0800
commit209674781d2bc75897bc158fff8b48e4ddee1691 (patch)
tree26e664de44d9e63cca0403d5028e623f2d9753f5 /rust/src/logger.rs
parent0eda0241adf3d50d04f7655683e35cdfbf0fb12d (diff)
[Rust] Add top level documentation to `tracing` and `logger`
Diffstat (limited to 'rust/src/logger.rs')
-rw-r--r--rust/src/logger.rs7
1 files changed, 5 insertions, 2 deletions
diff --git a/rust/src/logger.rs b/rust/src/logger.rs
index 31696d25..66e594fd 100644
--- a/rust/src/logger.rs
+++ b/rust/src/logger.rs
@@ -1,5 +1,8 @@
-// TODO: Describe this in terms of the core Logger, but refer to tracing for how to capture rust logs.
-
+//! Core [`Logger`] implementation, see [`crate::tracing`] for typical plugin and headless usage.
+//!
+//! This module defines the core logger model, which is typically not used directly and instead is used
+//! via the [`crate::tracing`] implementations. If you require a custom [`LogListener`] or need to log
+//! directly to the core instead of through `tracing` macros, that is what this module is useful for.
use crate::file_metadata::SessionId;
use crate::rc::{Ref, RefCountable};
use crate::string::{raw_to_string, BnString, IntoCStr};