 | LoggerDebugException Method |
Note: This API is now obsolete.
Writes the diagnostic message and exception at the Debug level.
Namespace: NLogAssembly: NLog (in NLog.dll) Version: 4.3.0
Syntax[ObsoleteAttribute("Use Debug(Exception exception, string message, params object[] args) method instead.")]
public void DebugException(
string message,
Exception exception
)
<ObsoleteAttribute("Use Debug(Exception exception, string message, params object[] args) method instead.")>
Public Sub DebugException (
message As String,
exception As Exception
)
Parameters
- message
- Type: SystemString
A string to be written. - exception
- Type: SystemException
An exception to be logged.
Implements
ILoggerDebugException(String, Exception)
See Also