TTMSMCPServer.OnLog Event
Occurs when the server produces a local diagnostic trace entry, such as protocol negotiation, transport start and stop, or an inbound notification.
API unit family: TMS.MCP.Server
Declaring type: TTMSMCPServer
Inherited from: TTMSMCPCustomServer
Syntax
OnLog: TTMSMCPLogEvent;
Remarks
This trace never leaves the process. To send a log record to the connected client, call SendLogMessage instead.
Parameters
| Name | Description |
|---|---|
Sender |
Server that produced the trace entry. |
LogMessage |
Human-readable trace text. It is informational only; changing or discarding it in the handler has no effect on the server. |