MCP TypeScript SDK (V2)
    Preparing search index...

    Variable LoggingMessageNotificationSchemaConst

    LoggingMessageNotificationSchema: ZodObject<
        {
            method: ZodLiteral<"notifications/message">;
            params: ZodObject<
                {
                    _meta: ZodOptional<
                        ZodObject<
                            {
                                "io.modelcontextprotocol/related-task": ZodOptional<
                                    ZodObject<{ taskId: ZodString }, $strip>,
                                >;
                                progressToken: ZodOptional<ZodUnion<readonly [ZodString, ZodNumber]>>;
                            },
                            $loose,
                        >,
                    >;
                    data: ZodUnknown;
                    level: ZodEnum<
                        {
                            alert: "alert";
                            critical: "critical";
                            debug: "debug";
                            emergency: "emergency";
                            error: "error";
                            info: "info";
                            notice: "notice";
                            warning: "warning";
                        },
                    >;
                    logger: ZodOptional<ZodString>;
                },
                $strip,
            >;
        },
        $strip,
    > = ...

    Notification of a log message passed from server to client. If no logging/setLevel request has been sent from the client, the server MAY decide which messages to send automatically.