Class NotificationLogSupport
java.lang.Object
dev.tachyonmcp.core.server.internal.NotificationLogSupport
Shared
notifications/message wire-shape helpers for the two independent notification
senders — DefaultDispatchContext.NotificationsImpl (per-request) and
DefaultTachyonServer.broadcastLog (server-wide) — which live in different packages and
gate emission with their own, unrelated shouldEmit logic.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe MCP method for structured log notifications. -
Method Summary
-
Field Details
-
LOG_METHOD
The MCP method for structured log notifications.- See Also:
-
-
Method Details
-
logParams
public static Map<String,Object> logParams(LoggingLevel level, @Nullable String logger, @Nullable Object data) Builds thenotifications/messageparams in wire order. Uses aLinkedHashMapso anulldatavalue is retained (spec-legal) rather than rejected byMap.of, and an absentloggeris omitted entirely.
-