Delegate LogEntryEventHandler
- Namespace
- NanoByte.Common
- Assembly
- NanoByte.Common.dll
Describes an event relating to an entry in the Log.
public delegate void LogEntryEventHandler(LogSeverity severity, string? message, Exception? exception)
Parameters
severityLogSeverityThe type/severity of the entry.
messagestringThe message of the entry.
exceptionExceptionAn optional exception associated with the entry.
- Extension Methods
Constructors
LogEntryEventHandler(object, IntPtr)
public LogEntryEventHandler(object @object, IntPtr method)
Parameters
objectobjectmethodIntPtr
Methods
BeginInvoke(LogSeverity, string?, Exception?, AsyncCallback, object)
public virtual IAsyncResult BeginInvoke(LogSeverity severity, string? message, Exception? exception, AsyncCallback callback, object @object)
Parameters
severityLogSeveritymessagestringexceptionExceptioncallbackAsyncCallbackobjectobject
Returns
EndInvoke(IAsyncResult)
public virtual void EndInvoke(IAsyncResult result)
Parameters
resultIAsyncResult
Invoke(LogSeverity, string?, Exception?)
public virtual void Invoke(LogSeverity severity, string? message, Exception? exception)
Parameters
severityLogSeveritymessagestringexceptionException