/** * A convenience method for logging a 'debug' message. * * @param message the message. * @param e the exception. */ public void debug(final Object message, final Exception e) { log(LogTarget.DEBUG, message, e); }
if (logger.isDebugEnabled()) { logger.debug("TextBoundsAnchorOffsets = " + textAdj[0] + ", " + textAdj[1]); if (logger.isDebugEnabled()) { logger.debug("RotationAnchorOffsets = " + rotateAdj[0] + ", " + rotateAdj[1]);
/** * Creates a log context. * * @param context the name of the logging context (a common prefix). * * @return A log context. */ protected LogContext internalCreateContext(final String context) { synchronized (this) { LogContext ctx = (LogContext) this.logContexts.get(context); if (ctx == null) { ctx = new LogContext(context); this.logContexts.put(context, ctx); } return ctx; } }
if (logger.isDebugEnabled()) { logger.debug("TextBoundsAnchorOffsets = " + textAdj[0] + ", " + textAdj[1]); if (logger.isDebugEnabled()) { logger.debug("RotationAnchorOffsets = " + rotateAdj[0] + ", " + rotateAdj[1]);
/** * Creates a log context. * * @param context the name of the logging context (a common prefix). * * @return A log context. */ protected LogContext internalCreateContext(final String context) { synchronized (this) { LogContext ctx = (LogContext) this.logContexts.get(context); if (ctx == null) { ctx = new LogContext(context); this.logContexts.put(context, ctx); } return ctx; } }
/** * A convenience method for logging an 'error' message. * * @param message the message. */ public void error(final Object message) { log(LogTarget.ERROR, message); }
if (logger.isDebugEnabled()) { logger.debug("TextBoundsAnchorOffsets = " + textAdj[0] + ", " + textAdj[1]); if (logger.isDebugEnabled()) { logger.debug("RotationAnchorOffsets = " + rotateAdj[0] + ", " + rotateAdj[1]);
/** * Creates a log context. * * @param context the name of the logging context (a common prefix). * * @return A log context. */ protected LogContext internalCreateContext(final String context) { synchronized (this) { LogContext ctx = (LogContext) this.logContexts.get(context); if (ctx == null) { ctx = new LogContext(context); this.logContexts.put(context, ctx); } return ctx; } }
/** * A convenience method for logging a 'debug' message. * * @param message the message. */ public void debug(final Object message) { log(LogTarget.DEBUG, message); }
final double width = fm.stringWidth(text); final double height = fm.getHeight(); if (logger.isDebugEnabled()) { logger.debug("Height = " + height);
/** * A convenience method for logging an 'info' message. * * @param message the message. * @param e the exception. */ public void info(final Object message, final Exception e) { log(LogTarget.INFO, message, e); }
final double width = fm.stringWidth(text); final double height = fm.getHeight(); if (logger.isDebugEnabled()) { logger.debug("Height = " + height);
/** * A convenience method for logging a 'warning' message. * * @param message the message. * @param e the exception. */ public void warn(final Object message, final Exception e) { log(LogTarget.WARN, message, e); }
double width = fm.stringWidth(text); double height = fm.getHeight(); if (logger.isDebugEnabled()) { logger.debug("Height = " + height);
/** * A convenience method for logging an 'info' message. * * @param message the message. * @param e the exception. */ public void info(final Object message, final Exception e) { log(LogTarget.INFO, message, e); }
/** * A convenience method for logging a 'warning' message. * * @param message the message. */ public void warn(final Object message) { log(LogTarget.WARN, message); }
/** * A convenience method for logging an 'info' message. * * @param message the message. */ public void info(final Object message) { log(LogTarget.INFO, message); }
/** * A convenience method for logging a 'warning' message. * * @param message the message. * @param e the exception. */ public void warn(final Object message, final Exception e) { log(LogTarget.WARN, message, e); }
/** * A convenience method for logging an 'error' message. * * @param message the message. */ public void error(final Object message) { log(LogTarget.ERROR, message); }
/** * A convenience method for logging a 'warning' message. * * @param message the message. */ public void warn(final Object message) { log(LogTarget.WARN, message); }