Dela via


Logger Delegate

Definition

public delegate bool Logger(LogLevel logLevel, Func<string> messageFunc, Exception exception = default, params object[] formatParameters);
type Logger = delegate of LogLevel * Func<string> * Exception * obj[] -> bool
Public Delegate Function Logger(logLevel As LogLevel, messageFunc As Func(Of String), Optional exception As Exception = Nothing, ParamArray formatParameters As Object()) As Boolean 

Parameters

logLevel
LogLevel
messageFunc
Func<String>
exception
Exception
formatParameters
Object[]

Return Value

Applies to