 | LoggerConditionalTraceT Method (IFormatProvider, T) |
Writes the diagnostic message 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<T>(
IFormatProvider? formatProvider,
T value
)
Public Sub ConditionalTrace(Of T) (
formatProvider As IFormatProvider,
value As T
)
Dim instance As Logger
Dim formatProvider As IFormatProvider
Dim value As T
instance.ConditionalTrace(formatProvider,
value)
member ConditionalTrace :
formatProvider : IFormatProvider *
value : 'T -> unit
Parameters
- formatProvider
- Type: SystemIFormatProvider
An IFormatProvider that supplies culture-specific formatting information. - value
- Type: T
The value to be written.
Type Parameters
- T
- Type of the value.
See Also