cohtml.Net.LogHandler

Interface to allow custom logging.

Inherits from SystemIDisposable

Inherited by cohtml.CohtmlLogHandler

Public Functions

Name
virtual voidDispose()
LogHandler()
virtual voidWriteLog(Severity severity, string message, ulong length)
Called when a log message has to be written.
delegate voidSwigDelegateLogHandler_0(int severity, string message, ulong length, global.System.IntPtr swigId)

Protected Attributes

Name
boolswigCMemOwn

Public Functions Documentation

function Dispose

virtual void Dispose()

Reimplemented by: cohtml.CohtmlLogHandler.Dispose

function LogHandler

LogHandler()

function WriteLog

virtual void WriteLog(
    Severity severity,
    string message,
    ulong length
)

Called when a log message has to be written.

Parameters:

  • severity the severity of the message
  • message the log message itself, null terminated
  • length the length of the message including the trailing 0

Reimplemented by: cohtml.CohtmlLogHandler.WriteLog

function SwigDelegateLogHandler_0

delegate void SwigDelegateLogHandler_0(
    int severity,
    string message,
    ulong length,
    global.System.IntPtr swigId
)

Protected Attributes Documentation

variable swigCMemOwn

bool swigCMemOwn;