public void Debug(string message) { if (IsDebugEnabled) { underlying.Debug(message); } }
public static void Debug(this IGrinderLogger logger, Action <LogMessageHandler> messageCallback) { if (logger.IsDebugEnabled) { logger.Debug(FormatMessage(messageCallback)); } }