Whatever message this page gives is out now! Go check it out!
loggingConsumer to your client config; the client calls it whenever the server emits logs.
<cfscript>
function myLoggingHandler(loggingMessage) {
var level = loggingMessage.level;
var data = loggingMessage.data;
writeLog(type=level, text=data);
return "Log received";
}
</cfscript>
<cfscript>
configData = {
transport: { /* transport config */ },
loggingConsumer: myLoggingHandler
};
mcpClient = MCPClient(configData);
</cfscript>