From 64d72a42f844d17afa57426448b010480c9c473d Mon Sep 17 00:00:00 2001 From: Josh Date: Sun, 17 Aug 2025 19:25:55 -0500 Subject: [PATCH] remove some extraneous docs --- crates/djls-server/src/logging.rs | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/crates/djls-server/src/logging.rs b/crates/djls-server/src/logging.rs index 7b814b1..a540401 100644 --- a/crates/djls-server/src/logging.rs +++ b/crates/djls-server/src/logging.rs @@ -10,23 +10,6 @@ //! - ERROR, WARN, INFO, DEBUG → forwarded to LSP client //! - TRACE → kept server-side only (for performance) //! -//! ## Usage -//! -//! Use standard tracing macros throughout the codebase: -//! -//! ```rust,ignore -//! tracing::info!("Server initialized"); -//! tracing::warn!("Configuration not found"); -//! tracing::error!("Failed to parse document"); -//! ``` -//! -//! For formatted messages: -//! ```rust,ignore -//! tracing::info!("Processing {} documents", count); -//! tracing::warn!("Timeout after {}ms for {}", ms, path); -//! tracing::error!("Failed to open {}: {}", file, err); -//! ``` -//! //! The `LspLayer` automatically handles forwarding appropriate log levels //! to the LSP client while preserving structured logging data for file output. @@ -63,7 +46,6 @@ impl LspLayer { } } -/// Visitor that extracts the message field from tracing events. struct MessageVisitor { message: Option, }