 | LoggerConditionalTrace Method (IFormatProvider, String, Char) |
Writes the diagnostic message at the Trace level using the specified value as a parameter and formatting it with the supplied format provider.
Only executed when the DEBUG conditional compilation symbol is set.
Namespace: NLogAssembly: NLog (in NLog.dll) Version: 4.3.0
Syntaxpublic void ConditionalTrace(
IFormatProvider formatProvider,
string message,
char argument
)
Public Sub ConditionalTrace (
formatProvider As IFormatProvider,
message As String,
argument As Char
)
Parameters
- formatProvider
- Type: SystemIFormatProvider
An IFormatProvider that supplies culture-specific formatting information. - message
- Type: SystemString
A string containing one format item. - argument
- Type: SystemChar
The argument to format.
See Also