Table of Contents

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

severity LogSeverity

The type/severity of the entry.

message string

The message of the entry.

exception Exception

An optional exception associated with the entry.

Extension Methods

Constructors

LogEntryEventHandler(object, IntPtr)

public LogEntryEventHandler(object @object, IntPtr method)

Parameters

object object
method IntPtr

Methods

BeginInvoke(LogSeverity, string?, Exception?, AsyncCallback, object)

public virtual IAsyncResult BeginInvoke(LogSeverity severity, string? message, Exception? exception, AsyncCallback callback, object @object)

Parameters

severity LogSeverity
message string
exception Exception
callback AsyncCallback
object object

Returns

IAsyncResult

EndInvoke(IAsyncResult)

public virtual void EndInvoke(IAsyncResult result)

Parameters

result IAsyncResult

Invoke(LogSeverity, string?, Exception?)

public virtual void Invoke(LogSeverity severity, string? message, Exception? exception)

Parameters

severity LogSeverity
message string
exception Exception

See Also