public enum MCPVerbosity

  1. Object
  2. Enum<MCPVerbosity>
  3. 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

OFFNo logging.
ERRORSOnly failed calls (JSON-RPC errors and tools that report isError).
SUMMARYOne concise line per call: the method, the tool name, and whether it succeeded.
FULLThe 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

OFF
No logging.

ERRORS

ERRORS
Only failed calls (JSON-RPC errors and tools that report isError).

SUMMARY

SUMMARY
One concise line per call: the method, the tool name, and whether it succeeded.

FULL

FULL
The 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.