McpClient.onLogMessage

Typed observer for notifications/message (server/utilities/logging).

When set, an inbound notifications/message is parsed into a LogMessageNotification and delivered here in addition to the generic onNotification. Inspect n.level (a LogLevel), the optional n.logger, and the arbitrary n.data payload to present log output in the UI / display severity visually.

class McpClient
void delegate(LogMessageNotification n) @(safe) onLogMessage;