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