cohtml.CohtmlLogHandler
Handle logs coming from the Native Cohtml Plugin.
Inherits from cohtml.Net.LogHandler, SystemIDisposable
Public Functions
Section titled “Public Functions”| Name | |
|---|---|
| virtual override void | WriteLog(LogInfo info, string message, ulong length) Logs a message using the configured LogWriter instance. |
| virtual override void | Dispose() Dispose the LogHandler when destruct the Cohtml library. |
Public Properties
Section titled “Public Properties”| Name | |
|---|---|
| CohtmlLogHandler | Instance Returns a Singleton instance of the CohtmlLogHandler. |
Additional inherited members
Section titled “Additional inherited members”Public Functions inherited from cohtml.Net.LogHandler
| Name | |
|---|---|
| LogHandler() | |
| delegate void | SwigDelegateLogHandler_0(global.System.IntPtr info, string message, ulong length, global.System.IntPtr swigId) |
Protected Attributes inherited from cohtml.Net.LogHandler
| Name | |
|---|---|
| bool | swigCMemOwn |
Public Functions Documentation
Section titled “Public Functions Documentation”function WriteLog
Section titled “function WriteLog”virtual override void WriteLog( LogInfo info, string message, ulong length)Logs a message using the configured LogWriter instance.
Parameters:
- info Specifies the metadata associated with the message.
- message The message generated by the Cohtml library.
- length The length of the message string.
Reimplements: cohtml.Net.LogHandler.WriteLog
function Dispose
Section titled “function Dispose”virtual override void Dispose()Dispose the LogHandler when destruct the Cohtml library.
Reimplements: cohtml.Net.LogHandler.Dispose
Public Property Documentation
Section titled “Public Property Documentation”property Instance
Section titled “property Instance”static CohtmlLogHandler Instance;Returns a Singleton instance of the CohtmlLogHandler.
© 2026 Coherent Labs. All rights reserved.