public enum MCPVerbosity
- Object
- Enum<MCPVerbosity>
- MCPVerbosity
ImplementsComparable<MCPVerbosity>
How much of the MCP conversation the server echoes to the Codename One log, so a developer can watch and debug what an agent is doing.
The levels are ordered from quietest to loudest. Each includes everything the level below it prints.
Enum constants
OFF | No logging. |
ERRORS | Only failed calls (JSON-RPC errors and tools that report isError). |
SUMMARY | One concise line per call: the method, the tool name, and whether it succeeded. |
FULL | The full JSON-RPC request and response for every message. |
Methods
public static MCPVerbosity[] values() | |
public static MCPVerbosity valueOf(String name) | |
public boolean includes(MCPVerbosity level) | Whether this level prints at least as much as the given level. |
Inherited methods
Enum constant details
OFF
OFFNo logging.
ERRORS
ERRORSOnly failed calls (JSON-RPC errors and tools that report
isError).SUMMARY
SUMMARYOne concise line per call: the method, the tool name, and whether it succeeded.
FULL
FULLThe full JSON-RPC request and response for every message.
Method details
values
public static MCPVerbosity[] values()valueOf
public static MCPVerbosity valueOf(String name)includes
public boolean includes(MCPVerbosity level)Whether this level prints at least as much as the given level.