Delegate LoggerProc
Represents a function which is called when a logging event occurs.
public delegate void LoggerProc(LogLevel level, nint userData, nint format, nint args)
Parameters
levelLogLevelThe log level.
userDatanintThe data that was passed to SetLoggerProc(LoggerProc?, nint). Usually should not be used.
formatnintThe format of the log message.
argsnintThe arguments of the log message.
Constructors
LoggerProc(object, nint)
public LoggerProc(object @object, nint method)
Parameters
Methods
BeginInvoke(LogLevel, nint, nint, nint, AsyncCallback, object)
public virtual IAsyncResult BeginInvoke(LogLevel level, nint userData, nint format, nint args, AsyncCallback callback, object @object)
Parameters
Returns
EndInvoke(IAsyncResult)
public virtual void EndInvoke(IAsyncResult result)
Parameters
resultIAsyncResult
Invoke(LogLevel, nint, nint, nint)
public virtual void Invoke(LogLevel level, nint userData, nint format, nint args)