Add entries to the audit log.
Auditing is the process of automatically recording selected actions, including actions of the authentication and authorization systems. In InterSystems IRIS®, auditing is considered a security function. The Management Portal provides pages you can use to enable auditing, configure custom audit events, and view the audit log.
See Auditing Guide.
The special variable $SYSTEM is bound to the %SYSTEM package. This means that instead of ##class(%SYSTEM.class).method(), you can use $SYSTEM.class.method().