| InternalLoggerError Method (Exception, String) |
Logs the specified message with an Exception at the Error level.
Namespace:
NLog.Common
Assembly:
NLog (in NLog.dll) Version: 5.3.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
Syntax public static void Error(
Exception ex,
string message
)
Public Shared Sub Error (
ex As Exception,
message As String
)
Dim ex As Exception
Dim message As String
InternalLogger.Error(ex, message)
static member Error :
ex : Exception *
message : string -> unit
Parameters
- ex
- Type: SystemException
Exception to be logged. - message
- Type: SystemString
Log message.
See Also