Class Log

java.lang.Object
stitching.utils.Log

public final class Log extends Object
Utility class to deal with logging.
Author:
Curtis Rueden
  • Constructor Summary

    Constructors
    Constructor
    Description
    Log()
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    debug(String message)
    Issues a message to the ImageJ log window, but only in debug mode.
    static void
    error(String message)
    Issues an error message to the ImageJ log window.
    static void
    error(String message, Throwable t)
    Issues an error message to the ImageJ log window, plus an exception stack trace to an ImageJ exception window.
    static void
    Issues an exception stack trace to an ImageJ exception window.
    static void
    info(String message)
    Issues an informational message to the ImageJ log window.
    static void
    timestamp(String message)
    Issues an informational message with timestamp to the ImageJ log window.
    static void
    warn(String message)
    Issues a warning message to the ImageJ log window.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Log

      public Log()
  • Method Details

    • debug

      public static void debug(String message)
      Issues a message to the ImageJ log window, but only in debug mode.
    • warn

      public static void warn(String message)
      Issues a warning message to the ImageJ log window.
    • info

      public static void info(String message)
      Issues an informational message to the ImageJ log window.
    • timestamp

      public static void timestamp(String message)
      Issues an informational message with timestamp to the ImageJ log window.
    • error

      public static void error(String message)
      Issues an error message to the ImageJ log window.
      See Also:
      • IJ.log(String)
    • error

      public static void error(Throwable t)
      Issues an exception stack trace to an ImageJ exception window.
      See Also:
      • IJ.handleException(Throwable)
    • error

      public static void error(String message, Throwable t)
      Issues an error message to the ImageJ log window, plus an exception stack trace to an ImageJ exception window.
      See Also:
      • IJ.log(String)
      • IJ.handleException(Throwable)