| Package | Description |
|---|---|
| io.modelcontextprotocol.client | |
| io.modelcontextprotocol.spec | |
| org.noear.solon.ai.mcp.client | |
| org.noear.solon.ai.mcp.server |
| Modifier and Type | Method and Description |
|---|---|
void |
McpSyncClient.setLoggingLevel(McpSchema.LoggingLevel loggingLevel)
Client can set the minimum logging level it wants to receive from the server.
|
reactor.core.publisher.Mono<Void> |
McpAsyncClient.setLoggingLevel(McpSchema.LoggingLevel loggingLevel)
Sets the minimum logging level for messages received from the server.
|
| Modifier and Type | Method and Description |
|---|---|
static McpSchema.LoggingLevel |
McpSchema.LoggingLevel.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static McpSchema.LoggingLevel[] |
McpSchema.LoggingLevel.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
McpStreamableServerSession.isNotificationForLevelAllowed(McpSchema.LoggingLevel loggingLevel) |
boolean |
McpStreamableServerSession.McpStreamableServerSessionStream.isNotificationForLevelAllowed(McpSchema.LoggingLevel loggingLevel) |
boolean |
McpServerSession.isNotificationForLevelAllowed(McpSchema.LoggingLevel loggingLevel) |
boolean |
McpLoggableSession.isNotificationForLevelAllowed(McpSchema.LoggingLevel loggingLevel)
Allows checking whether a particular logging level is allowed.
|
boolean |
MissingMcpTransportSession.isNotificationForLevelAllowed(McpSchema.LoggingLevel loggingLevel) |
McpSchema.LoggingMessageNotification.Builder |
McpSchema.LoggingMessageNotification.Builder.level(McpSchema.LoggingLevel level) |
void |
McpStreamableServerSession.setMinLoggingLevel(McpSchema.LoggingLevel minLoggingLevel) |
void |
McpStreamableServerSession.McpStreamableServerSessionStream.setMinLoggingLevel(McpSchema.LoggingLevel minLoggingLevel) |
void |
McpServerSession.setMinLoggingLevel(McpSchema.LoggingLevel minLoggingLevel) |
void |
McpLoggableSession.setMinLoggingLevel(McpSchema.LoggingLevel minLoggingLevel)
Set the minimum logging level for the client.
|
void |
MissingMcpTransportSession.setMinLoggingLevel(McpSchema.LoggingLevel minLoggingLevel) |
| Constructor and Description |
|---|
LoggingMessageNotification(McpSchema.LoggingLevel level,
String logger,
String data) |
| Modifier and Type | Method and Description |
|---|---|
void |
McpClientProvider.setLoggingLevel(McpSchema.LoggingLevel loggingLevel)
设置日志级别
|
| Modifier and Type | Method and Description |
|---|---|
void |
McpServerEndpointProvider.setLoggingLevel(McpSchema.LoggingLevel loggingLevel)
设置日志级别
|
Copyright © 2025. All rights reserved.