| InternalLoggerWarn Method (Exception, String) |
Logs the specified message with an Exception at the Warn level.
Namespace:
NLog.Common
Assembly:
NLog (in NLog.dll) Version: 5.3.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
Syntax public 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