Click or drag to resize

LoggerConditionalDebugT Method (IFormatProvider, T)

Writes the diagnostic message at the Debug level. Only executed when the DEBUG conditional compilation symbol is set.

Namespace:  NLog
Assembly:  NLog (in NLog.dll) Version: 6.0.0+cfb73701cda54e2410b006f649f072e90daef707
Syntax
public void ConditionalDebug<T>(
	IFormatProvider? formatProvider,
	T value
)

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