Enum MCPVerbosity
- All Implemented Interfaces:
Comparable<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 Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionbooleanincludes(MCPVerbosity level) Whether this level prints at least as much as the given level.static MCPVerbosityReturns the enum constant of this type with the specified name.static MCPVerbosity[]values()Returns an array containing the constants of this enum type, in the order they are declared.Methods inherited from class Enum
clone, compareTo, equals, getDeclaringClass, getEnumValues, hashCode, name, ordinal, setEnumValues, toString, valueOf
-
Enum Constant Details
-
OFF
No logging. -
ERRORS
Only failed calls (JSON-RPC errors and tools that reportisError). -
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.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
includes
Whether this level prints at least as much as the given level.
-