cohtml.CohtmlPerformanceLogHandler

Handle performance logs coming from the Native Cohtml Plugin.

Inherits from cohtml.Net.PerformanceHandler, SystemIDisposable

Public Functions

Name
virtual override voidWriteLog(string message, ulong length)
Records a message using the LogWriter instance that has been set up.
virtual override voidDispose()
Dispose the LogHandler & messages collection when destruct the Cohtml Library.

Public Properties

Name
CohtmlPerformanceLogHandlerInstance
Returns a Singleton instance of the PerformanceLogHandler.

Additional inherited members

Public Functions inherited from cohtml.Net.PerformanceHandler

Name
PerformanceHandler()
delegate voidSwigDelegatePerformanceHandler_0(string message, ulong length, global.System.IntPtr swigId)

Protected Attributes inherited from cohtml.Net.PerformanceHandler

Name
boolswigCMemOwn

Public Functions Documentation

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

virtual override void Dispose()

Dispose the LogHandler & messages collection when destruct the Cohtml Library.

Reimplements: cohtml.Net.PerformanceHandler.Dispose

Public Property Documentation

property Instance

static CohtmlPerformanceLogHandler Instance;

Returns a Singleton instance of the PerformanceLogHandler.