Class Logger

java.lang.Object
org.codehaus.groovy.tools.shell.util.Logger

public final class Logger extends Object
Provides a very, very basic logging API.
  • Field Details

    • io

      public static volatile IO io
    • name

      public final String name
  • Method Details

    • isDebugEnabled

      public boolean isDebugEnabled()
    • isDebug

      public boolean isDebug()
    • debug

      public void debug(Object msg)
    • debug

      public void debug(Object msg, Throwable cause)
    • warn

      public void warn(Object msg)
    • warn

      public void warn(Object msg, Throwable cause)
    • error

      public void error(Object msg)
    • error

      public void error(Object msg, Throwable cause)
    • create

      public static Logger create(Class type)
    • create

      public static Logger create(Class type, String suffix)