From 209674781d2bc75897bc158fff8b48e4ddee1691 Mon Sep 17 00:00:00 2001 From: Mason Reed Date: Fri, 19 Dec 2025 19:52:39 -0500 Subject: [Rust] Add top level documentation to `tracing` and `logger` --- rust/src/logger.rs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'rust/src/logger.rs') 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}; -- cgit v1.3.1