Table of Contents

TTMSMCPCustomClientConnection.SetLoggingLevel Method

Sets the lowest severity of log record the server should push.

API unit family: TMS.MCP.Client.Connection Declaring type: TTMSMCPCustomClientConnection

Syntax

procedure SetLoggingLevel(ALevel: TTMSMCPLoggingLevel);

Remarks

Deprecated: from protocol version 2026-07-28 the severity travels with each request instead of being set once for the session. On a legacy protocol version the change is sent to the server, and only when the server declared a logging capability; otherwise the call has no effect. On a current protocol version nothing is sent, the severity is remembered and attached to every later request.

Parameters

Name Description
ALevel Lowest severity to receive.