 | LoggerConditionalTrace Method (Exception, String, Object) |
Writes the diagnostic message and exception at the Trace level.
Only executed when the DEBUG conditional compilation symbol is set.
Namespace:
NLog
Assembly:
NLog (in NLog.dll) Version: 6.0.0+cfb73701cda54e2410b006f649f072e90daef707
Syntaxpublic void ConditionalTrace(
Exception? exception,
string message,
params Object?[] args
)
Public Sub ConditionalTrace (
exception As Exception,
message As String,
ParamArray args As Object()
)
Dim instance As Logger
Dim exception As Exception
Dim message As String
Dim args As Object()
instance.ConditionalTrace(exception,
message, args)
member ConditionalTrace :
exception : Exception *
message : string *
args : Object[] -> unit
Parameters
- exception
- Type: SystemException
An exception to be logged. - message
- Type: SystemString
A string to be written. - args
- Type: SystemObject
Arguments to format.
See Also