public interface McpLoggableSession extends McpSession
McpSession which is capable of processing logging notifications and keeping
track of a min logging level.| Modifier and Type | Method and Description |
|---|---|
boolean |
isNotificationForLevelAllowed(McpSchema.LoggingLevel loggingLevel)
Allows checking whether a particular logging level is allowed.
|
void |
setMinLoggingLevel(McpSchema.LoggingLevel minLoggingLevel)
Set the minimum logging level for the client.
|
close, closeGracefully, sendNotification, sendNotification, sendRequestvoid setMinLoggingLevel(McpSchema.LoggingLevel minLoggingLevel)
minLoggingLevel - The minimum logging levelboolean isNotificationForLevelAllowed(McpSchema.LoggingLevel loggingLevel)
loggingLevel - the level to checkCopyright © 2025. All rights reserved.