 | LoggerConditionalDebug Method (LogMessageGenerator) |
Writes the diagnostic message at the Debug level.
Only executed when the DEBUG conditional compilation symbol is set.
Namespace: NLogAssembly: NLog (in NLog.dll) Version: 4.3.0
Syntaxpublic void ConditionalDebug(
LogMessageGenerator messageFunc
)
Public Sub ConditionalDebug (
messageFunc As LogMessageGenerator
)
Parameters
- messageFunc
- Type: NLogLogMessageGenerator
A function returning message to be written. Function is not evaluated if logging is not enabled.
See Also