 | 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.5.0+1873145cbc26e0312d9481234d69ce7dc68aac4e
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