Docs.rs
lean-ctx-engine-3.12.9
Go to latest version
Platform
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
Skip to main content
Module logging
lean_
ctx
3.12.9
Module logging
Module Items
Functions
In lean_
ctx::
core
lean_ctx
::
core
Module
logging
Copy item path
Source
Functions
§
default_
level
The default filter when neither
LEAN_CTX_LOG
nor
RUST_LOG
is set:
warn
for server-like processes,
error
for user-facing commands.
init_
cli_
logging
Initialize the tracing subscriber for a user-facing command. Defaults to
error
: what a person needs to know is printed as a plain line by the command itself, not as a
WARN
log record.
LEAN_CTX_LOG
/
RUST_LOG
still raise it.
init_
logging
Initialize the tracing subscriber for a server-like command (daemon, proxy, serve, …) that is not the stdio MCP server.
init_
mcp_
logging
Initialize logging for daemon/MCP mode (stderr, defaults to
info
). Daemon logs go to a file, so verbosity is fine.