Click or drag to resize

InternalLoggerWarn Method (FuncString)

Logs the specified message without an Exception at the Warn level. messageFunc will be only called when logging is enabled for level Warn.

Namespace:  NLog.Common
Assembly:  NLog (in NLog.dll) Version: 5.2.0+eed5f76d158dbcaef9326f7a0e1c281adad171e8
Syntax
public static void Warn(
	Func<string> messageFunc
)

Parameters

messageFunc
Type: SystemFuncString
Function that returns the log message.
See Also