mirror of
https://github.com/joshuadavidthomas/django-language-server.git
synced 2025-09-14 14:25:36 +00:00
remove some extraneous docs
This commit is contained in:
parent
36e5f6da62
commit
64d72a42f8
1 changed files with 0 additions and 18 deletions
|
@ -10,23 +10,6 @@
|
||||||
//! - ERROR, WARN, INFO, DEBUG → forwarded to LSP client
|
//! - ERROR, WARN, INFO, DEBUG → forwarded to LSP client
|
||||||
//! - TRACE → kept server-side only (for performance)
|
//! - 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
|
//! The `LspLayer` automatically handles forwarding appropriate log levels
|
||||||
//! to the LSP client while preserving structured logging data for file output.
|
//! 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 {
|
struct MessageVisitor {
|
||||||
message: Option<String>,
|
message: Option<String>,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue