mcp: rename logging symbols (#321)

Fixes #279.
This commit is contained in:
Jonathan Amsterdam 2025-08-19 07:49:56 -04:00 • committed by GitHub
commit 52734fd414
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -404,7 +404,7 @@ func TestEndToEnd(t *testing.T) {
// Nothing should be logged until the client sets a level.
mustLog("info", "before")
if err := cs.SetLevel(ctx, &SetLevelParams{Level: "warning"}); err != nil {
if err := cs.SetLoggingLevel(ctx, &SetLoggingLevelParams{Level: "warning"}); err != nil {
t.Fatal(err)
}
mustLog("warning", want[0].Data)