Logger
Last update: 16.07.2025public class Logger : PHXCOMObject
This is the wrapper class that handles the native COM calls to a Logger object.
Author
jdaley, 3-10
Constructors
| Logger | constructor(id: Long, addRef: Boolean) FOR INTERNAL USE ONLY |
Functions
| Name | Summary |
|---|---|
| debug | public debug(msg: String) Logs a message at the DEBUG level |
| disableGC | public disableGC(gc: Boolean) If true, prevents releaseObjects from doing anything. |
| error | public error(msg: String) Logs a message at the ERROR level |
| info | public info(msg: String) Logs a message at the INFO level |
| isDebugEnabled | public isDebugEnabled(): Boolean checks if the DEBUG level is enabled |
| isErrorEnabled | public isErrorEnabled(): Boolean checks if the ERROR level is enabled |
| isInfoEnabled | public isInfoEnabled(): Boolean checks if the INFO level is enabled |
| isWarnEnabled | public isWarnEnabled(): Boolean checks if the WARN level is enabled |
| release | public release() Releases the COM reference to ModelCenter for this object. |
| releaseObjects | public releaseObjects() This function attempts to release any COM resources left behind from objects which have been finalized but release() was never called on them. |
| setReferenceDebugMode | public setReferenceDebugMode(on: Boolean) When set to true, the system will keep a list of active COM objects that are allocated but not yet released since this method was invoked. |
| warn | public warn(msg: String) Logs a message at the WARN level |