cohtml.CohtmlPerformanceLogHandler
Handle performance logs coming from the Native Cohtml Plugin.
Inherits from cohtml.Net.PerformanceHandler, SystemIDisposable
Public Functions
Section titled “Public Functions”| Name | |
|---|---|
| virtual override void | WriteLog(string message, ulong length) Records a message using the LogWriter instance that has been set up. |
| virtual override void | Dispose() Dispose the LogHandler & messages collection when destruct the Cohtml Library. |
Public Properties
Section titled “Public Properties”| Name | |
|---|---|
| CohtmlPerformanceLogHandler | Instance Returns a Singleton instance of the PerformanceLogHandler. |
Additional inherited members
Section titled “Additional inherited members”Public Functions inherited from cohtml.Net.PerformanceHandler
| Name | |
|---|---|
| PerformanceHandler() | |
| delegate void | SwigDelegatePerformanceHandler_0(string message, ulong length, global.System.IntPtr swigId) |
Protected Attributes inherited from cohtml.Net.PerformanceHandler
| Name | |
|---|---|
| bool | swigCMemOwn |
Public Functions Documentation
Section titled “Public Functions Documentation”function WriteLog
Section titled “function WriteLog”virtual override void WriteLog( string message, ulong length)Records a message using the LogWriter instance that has been set up.
Parameters:
- message The message originated from the Cohtml library.
- length The length of the message string.
Reimplements: cohtml.Net.PerformanceHandler.WriteLog
function Dispose
Section titled “function Dispose”virtual override void Dispose()Dispose the LogHandler & messages collection when destruct the Cohtml Library.
Reimplements: cohtml.Net.PerformanceHandler.Dispose
Public Property Documentation
Section titled “Public Property Documentation”property Instance
Section titled “property Instance”static CohtmlPerformanceLogHandler Instance;Returns a Singleton instance of the PerformanceLogHandler.
© 2026 Coherent Labs. All rights reserved.