Table of Contents

TTMSMCPSseTransport.OnLog Event

Handler receiving the channel's progress and diagnostic lines.

API unit family: TMS.MCP.Transport.SSE Declaring type: TTMSMCPSseTransport

Syntax

OnLog: TTMCMCPLogEvent;

Remarks

Reports start-up and shut-down, the addresses the channel came up on, client connects and disconnects, and the text of caught errors. Purely informational, and called from worker threads as well as from the thread that started the channel. This is not the same event as the server component's own log handler, which carries a sender and a message.

Parameters

Name Description
Msg Text of one line, already formatted and carrying neither a severity nor a timestamp. The handler only records or displays it; it cannot influence what the channel does next.