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 Summary
-
Method Summary
Modifier and Type Method Description static Logger
create(Class type)
static Logger
create(Class type, String suffix)
void
debug(Object msg)
void
debug(Object msg, Throwable cause)
void
error(Object msg)
void
error(Object msg, Throwable cause)
boolean
isDebug()
boolean
isDebugEnabled()
void
warn(Object msg)
void
warn(Object msg, Throwable cause)
-
Field Details
-
io
-
name
-
-
Method Details
-
isDebugEnabled
public boolean isDebugEnabled() -
isDebug
public boolean isDebug() -
debug
-
debug
-
warn
-
warn
-
error
-
error
-
create
-
create
-