 | InternalLoggerWarn Method (Exception, String) |
Logs the specified message with an Exception at the Warn level.
Namespace:
NLog.Common
Assembly:
NLog (in NLog.dll) Version: 6.0.0+cfb73701cda54e2410b006f649f072e90daef707
Syntaxpublic static void Warn(
Exception? ex,
string message
)
Public Shared Sub Warn (
ex As Exception,
message As String
)
Dim ex As Exception
Dim message As String
InternalLogger.Warn(ex, message)
static member Warn :
ex : Exception *
message : string -> unit
Parameters
- ex
- Type: SystemException
Exception to be logged. - message
- Type: SystemString
Log message.
See Also