Skip to main content

Module logging

Module logging 

Source

Structs§

LogEvent
Lightweight event sent from McpLoggingLayer to consumer task via unbounded channel.
McpLoggingLayer
Custom tracing Layer that bridges tracing events to MCP client via unbounded channel. Sends lightweight LogEvent to channel; consumer task in on_initialized drains with recv_many.

Functions§

level_to_mcp
Maps tracing::Level to MCP LoggingLevel.