mcp: rename LoggingMessage to Log (#42)

Use a verb for this method name.
This commit is contained in:
Jonathan Amsterdam 2025-06-25 16:52:37 -04:00 • committed by GitHub
commit 92859ef391
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -185,5 +185,5 @@ func (h *LoggingHandler) handle(ctx context.Context, r slog.Record) error {
// documentation says not to.
// In this case logging is a service to clients, not a means for debugging the
// server, so we want to cancel the log message.
return h.ss.LoggingMessage(ctx, params)
return h.ss.Log(ctx, params)
}