|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.codehaus.groovy.tools.shell.util.Logger
public final class Logger extends java.lang.Object
Provides a very, very basic logging API.
Field Summary | |
---|---|
static IO |
io
|
java.lang.String |
name
|
Method Summary | |
---|---|
static Logger
|
create(java.lang.Class type)
|
static Logger
|
create(java.lang.Class type, java.lang.String suffix)
|
void
|
debug(java.lang.Object msg)
|
void
|
debug(java.lang.Object msg, java.lang.Throwable cause)
|
void
|
error(java.lang.Object msg)
|
void
|
error(java.lang.Object msg, java.lang.Throwable cause)
|
boolean
|
isDebug()
|
boolean
|
isDebugEnabled()
|
void
|
warn(java.lang.Object msg)
|
void
|
warn(java.lang.Object msg, java.lang.Throwable cause)
|
Methods inherited from class java.lang.Object | |
---|---|
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Field Detail |
---|
public static IO io
public final java.lang.String name
Method Detail |
---|
public static Logger create(java.lang.Class type)
public static Logger create(java.lang.Class type, java.lang.String suffix)
public void debug(java.lang.Object msg)
public void debug(java.lang.Object msg, java.lang.Throwable cause)
public void error(java.lang.Object msg)
public void error(java.lang.Object msg, java.lang.Throwable cause)
public boolean isDebug()
public boolean isDebugEnabled()
public void warn(java.lang.Object msg)
public void warn(java.lang.Object msg, java.lang.Throwable cause)
Groovy Documentation