Logs a message and stack trace if DEBUG logging is enabled
or a formatted message and exception description if WARN logging is enabled.

@param cause   an exception to print stack trace of if DEBUG logging is enabled
@param message a message
504689
public final void warnDebug(final Throwable cause, final String message)
    {
        logDebug(Level.WARN, cause, message);
    }
1228034
protected void debug(String message, Throwable throwable) {
		final Log log = getLog();
		if (log != null)
			log.debug(message, throwable);
	}
22130
public void debug(Object message, Throwable t) {
        differentiatedLog(null, CATEGORY_FQCN, LocationAwareLogger.DEBUG_INT, message, t);
    }
631432
@Override
    public void trace(String msg, Throwable t) {
        logger.log(FQCN, traceCapable ? Level.TRACE : Level.DEBUG, msg, t);
    }
647793
public void log(String message, Throwable t) {
	System.out.println(message);
	System.out.println(getStackTrace(t));
    }
707191
protected void log(LogLevel level,Object[] message,Throwable throwable)
    {
        if(level.getValue()>=this.logLevel.getValue())
        {
            //log the message
            this.logImpl(level,message,throwable);
        }
    }
322936
@Override
    public void debug(String format, Object arg) {
        if (logger.isDebugEnabled()) {
            FormattingTuple ft = MessageFormatter.format(format, arg);
            logger.debug(ft.getMessage(), ft.getThrowable());
        }
    }
294185
@Override
    public void debug(String message) {
        if(this.logger.isDebugEnabled()) {
            this.logger.debug(buildMessage(message));
        }
    }
1039691
public static void logDebug(String message, Throwable t) {
		logDebug(message + SEP + getMessage(t));
	}
592041
public static void trace(Object message) {
		log(Level.TRACE, message, null, (Object[])null);
	}
1064831
public final void errorDebug(final Throwable cause, final String message)
    {
        logDebug(Level.ERROR, cause, message);
    }
363513
@Override
    public void debug(String message, Throwable throwable) {
        if(this.logger.isDebugEnabled()) {
            this.logger.debug(buildMessage(message), throwable);
        }
    }
265534
public void debug(Object message, Throwable exception) {
    log(Level.DEBUG, message, exception);
  }
354982
public void trace(final IJNRPEExecutionContext ctx, final String message) {
        postEvent(ctx, new LogEvent(source, LogEventType.TRACE, message));
    }
145962
public void debug(CharSequence message, Throwable e) {
    log(Level.FINE, message, e);
  }
1085956
public static void log(IoSession session, Logger logger, String message, Throwable t) {
        boolean isIOException = t instanceof IOException;
        if (isIOException && !logger.isInfoEnabled()) {
            return;
        }
        if (logger.isWarnEnabled()) {
            String finalMessage = t.getCause() == null ? message : message + ", caused by " + t.getCause();
            finalMessage = addSession(finalMessage, session);
            if (isIOException) {
                logIOException(finalMessage, logger, t);
            }
            else if (logger.isInfoEnabled()) {
                logger.warn(finalMessage, t);
            }
            else {
                logger.warn(finalMessage);
            }
        }
    }
731677
public void warn(Object message, Throwable exception) {
    log(Level.WARN, message, exception);
  }