TTMSMCPServer.OnLogLevelChanged Event
Occurs after a client has changed the requested log severity through a
logging/setLevelrequest.
API unit family: TMS.MCP.Server
Declaring type: TTMSMCPServer
Inherited from: TTMSMCPCustomServer
Syntax
OnLogLevelChanged: TTMSMCPLogLevelChangedEvent;
Remarks
The handler runs after CurrentLogLevel has already been updated. An unrecognized level name is mapped to llInfo before the event is raised.
Parameters
| Name | Description |
|---|---|
Sender |
Server that handled the request. |
ALevel |
Newly selected minimum severity, identical to the value CurrentLogLevel now holds. |