Write a debug message to the logs

@param message   The debug message
@param exception
355562
public void debug(final String message, final Exception exception) {
        messages.add(new LogMessage(message + " " + exception.getMessage(), LogMessage.Type.DEBUG));
        log.debug(message, exception);
    }
704702
public void debug(Object message) {
        doLog(Level.DEBUG, FQCN, message, null, null);
    }
1035442
private static void writeToLog(Logger logger, Level level, String pattern, Exception exception) {
    if (level == Level.ERROR) {
      logger.error(pattern, exception);
    } else if (level == Level.INFO) {
      logger.info(pattern);
    } else if (level == Level.DEBUG) {
      logger.debug(pattern);
    }
  }
363513
@Override
    public void debug(String message, Throwable throwable) {
        if(this.logger.isDebugEnabled()) {
            this.logger.debug(buildMessage(message), throwable);
        }
    }
506292
protected void debug(String message) {
		final Log log = getLog();
		if (log != null)
			log.debug(message);
	}
887692
public void info(final String message, final Exception exception) {
        messages.add(new LogMessage(message + " " + exception.getMessage(), LogMessage.Type.INFO));
        log.info(message, exception);
    }
517785
public static void printMessage (String message, boolean force) {
		if (isDebugEnabled () || force) {
			String toOutput = "log-helper DEBUG: " + message.replaceAll ("\n", "\nlog-helper DEBUG: ");
			System.out.println (toOutput);
		}
	}
499363
public void debugFiner(CharSequence message, Throwable e) {
    log(Level.FINER, message, e);
  }
248908
public final void debug(Object message) {

        if (isLevelEnabled(SimpleLog.LOG_LEVEL_DEBUG)) {
            log(SimpleLog.LOG_LEVEL_DEBUG, message, null);
        }
    }
783526
public void debugFinest(CharSequence message, Throwable e) {
    log(Level.FINEST, message, e);
  }
543398
public void debug(String message, Map<String, Object> custom) {
    debug(null, custom, message);
  }
645786
public void trace(Object message, Throwable exception) {
    log(Level.TRACE, message, exception);
  }
504689
public final void warnDebug(final Throwable cause, final String message)
    {
        logDebug(Level.WARN, cause, message);
    }
919504
public void debug(String message, Map<String, Object> custom) {
    log(null, custom, message, Level.DEBUG);
  }
1226267
public static void dump(String message, Throwable exception) {
		printEmphasized(StringPrinter.buildString(printer -> {
			printer.println(message);
			exception.printStackTrace(printer.toPrintWriter());
		}));
	}
597146
public void debug(Object message)
    {
        if (IS12)
        {
            getLogger().log(FQCN, Level.DEBUG, message, null);
        }
        else
        {
            getLogger().log(FQCN, Level.DEBUG, message, null);
        }
    }
261542
@Override
    public void debug(String msg, Throwable e) {
        log.logIfEnabled(FQCN, Level.DEBUG, null, msg, e);
    }