org.codehaus.groovy.tools.shell.util
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.
- Version:
- $Id: Logger.java 8907 2007-10-30 12:28:43Z paulk $
- Author:
- Jason Dillon
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
io
public static IO io
name
public final String name
isDebugEnabled
public boolean isDebugEnabled()
isDebug
public boolean isDebug()
debug
public void debug(Object msg)
throws Exception
- Throws:
Exception
debug
public void debug(Object msg,
Throwable cause)
throws Exception
- Throws:
Exception
warn
public void warn(Object msg)
throws Exception
- Throws:
Exception
warn
public void warn(Object msg,
Throwable cause)
throws Exception
- Throws:
Exception
error
public void error(Object msg)
throws Exception
- Throws:
Exception
error
public void error(Object msg,
Throwable cause)
throws Exception
- Throws:
Exception
create
public static Logger create(Class type)
create
public static Logger create(Class type,
String suffix)