A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://nlog-project.org/documentation/v4.7.0/html/M_NLog_Common_InternalLogger_Log_3.htm below:

InternalLoggerLog Method (Exception, LogLevel, FuncString)

InternalLoggerLog Method (Exception, LogLevel, FuncString)

Logs the specified message with an

Exception

at the specified level.

messageFunc

will be only called when logging is enabled for level

level

.

Namespace:  NLog.Common
Assembly:

NLog (in NLog.dll) Version: 4.7.0+4d138800820311d0b60b6437f1dd2ed1d571d47d

Syntax
public static void Log(
	Exception ex,
	LogLevel level,
	Func<string> messageFunc
)
Public Shared Sub Log ( 
	ex As Exception,
	level As LogLevel,
	messageFunc As Func(Of String)
)

Dim ex As Exception
Dim level As LogLevel
Dim messageFunc As Func(Of String)

InternalLogger.Log(ex, level, messageFunc)
static member Log : 
        ex : Exception * 
        level : LogLevel * 
        messageFunc : Func<string> -> unit 
Parameters
ex
Type: SystemException
Exception to be logged.
level
Type: NLogLogLevel
Log level.
messageFunc
Type: SystemFuncString
Function that returns the log message.
See Also

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4