|
Groovy 2.2.0 | |||||||
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 Object
Provides a very, very basic logging API.
Field Summary | |
---|---|
static IO |
io
|
String |
name
|
Method Summary | |
---|---|
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)
|
Methods inherited from class Object | |
---|---|
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Field Detail |
---|
public static IO io
public final String name
Method Detail |
---|
public static Logger create(Class type)
public static Logger create(Class type, String suffix)
public void debug(Object msg)
public void debug(Object msg, Throwable cause)
public void error(Object msg)
public void error(Object msg, Throwable cause)
public boolean isDebug()
public boolean isDebugEnabled()
public void warn(Object msg)
public void warn(Object msg, Throwable cause)
Copyright © 2003-2013 The Codehaus. All rights reserved.