Tabnine Logo
LogContext
Code IndexAdd Tabnine to your IDE (free)

How to use
LogContext
in
org.jfree.util

Best Java code snippets using org.jfree.util.LogContext (Showing top 20 results out of 315)

origin: jfree/jcommon

/**
 * 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);
}
origin: jfree/jcommon

if (logger.isDebugEnabled()) {
  logger.debug("TextBoundsAnchorOffsets = " + textAdj[0] + ", "
      + textAdj[1]);
if (logger.isDebugEnabled()) {
  logger.debug("RotationAnchorOffsets = " + rotateAdj[0] + ", "
      + rotateAdj[1]);
origin: jfree/jcommon

/**
 * 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;
  }
}
 
origin: org.jfree/jcommon

if (logger.isDebugEnabled()) {
  logger.debug("TextBoundsAnchorOffsets = " + textAdj[0] + ", "
      + textAdj[1]);
if (logger.isDebugEnabled()) {
  logger.debug("RotationAnchorOffsets = " + rotateAdj[0] + ", "
      + rotateAdj[1]);
origin: org.jfree/jcommon

/**
 * 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;
  }
}
 
origin: org.jfree/jcommon

/**
 * A convenience method for logging an 'error' message.
 *
 * @param message the message.
 */
public void error(final Object message) {
  log(LogTarget.ERROR, message);
}
origin: org.jfree/com.springsource.org.jfree

if (logger.isDebugEnabled()) {
  logger.debug("TextBoundsAnchorOffsets = " + textAdj[0] + ", " 
      + textAdj[1]);
if (logger.isDebugEnabled()) {
  logger.debug("RotationAnchorOffsets = " + rotateAdj[0] + ", " 
      + rotateAdj[1]);
origin: org.jfree/com.springsource.org.jfree

/**
 * 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;
  }
}
 
origin: jfree/jcommon

/**
 * A convenience method for logging a 'debug' message.
 *
 * @param message the message.
 */
public void debug(final Object message) {
  log(LogTarget.DEBUG, message);
}
origin: jfree/jcommon

final double width = fm.stringWidth(text);
final double height = fm.getHeight();
if (logger.isDebugEnabled()) {
  logger.debug("Height = " + height);
origin: jfree/jcommon

/**
 * 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);
}
origin: org.jfree/com.springsource.org.jfree

final double width = fm.stringWidth(text);
final double height = fm.getHeight();
if (logger.isDebugEnabled()) {
  logger.debug("Height = " + height);
origin: org.jfree/jcommon

/**
 * 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);
}
origin: org.jfree/jcommon

double width = fm.stringWidth(text);
double height = fm.getHeight();
if (logger.isDebugEnabled()) {
  logger.debug("Height = " + height);
origin: org.jfree/com.springsource.org.jfree

/**
 * 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);
}
origin: org.jfree/com.springsource.org.jfree

/**
 * A convenience method for logging a 'warning' message.
 *
 * @param message the message.
 */
public void warn(final Object message) {
  log(LogTarget.WARN, message);
}
origin: jfree/jcommon

/**
 * A convenience method for logging an 'info' message.
 *
 * @param message the message.
 */
public void info(final Object message) {
  log(LogTarget.INFO, message);
}
origin: jfree/jcommon

/**
 * 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);
}
origin: jfree/jcommon

/**
 * A convenience method for logging an 'error' message.
 *
 * @param message the message.
 */
public void error(final Object message) {
  log(LogTarget.ERROR, message);
}
origin: jfree/jcommon

/**
 * A convenience method for logging a 'warning' message.
 *
 * @param message the message.
 */
public void warn(final Object message) {
  log(LogTarget.WARN, message);
}
org.jfree.utilLogContext

Javadoc

A log context.

Most used methods

  • <init>
    Creates a new log context.
  • debug
    A convenience method for logging a 'debug' message.
  • isDebugEnabled
    Returns true, if the log level allows debug messages to be printed.
  • log
    Logs a message to the main log stream. All attached logTargets will also receive this message. If th

Popular in Java

  • Making http post requests using okhttp
  • setContentView (Activity)
  • getResourceAsStream (ClassLoader)
  • putExtra (Intent)
  • FileNotFoundException (java.io)
    Thrown when a file specified by a program cannot be found.
  • Permission (java.security)
    Legacy security code; do not use.
  • Collections (java.util)
    This class consists exclusively of static methods that operate on or return collections. It contains
  • Dictionary (java.util)
    Note: Do not use this class since it is obsolete. Please use the Map interface for new implementatio
  • Manifest (java.util.jar)
    The Manifest class is used to obtain attribute information for a JarFile and its entries.
  • Collectors (java.util.stream)
  • Top Sublime Text plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now