public class TraceableLogger extends Object
Modifier and Type | Method and Description |
---|---|
void |
clearThreadTrace() |
void |
debug(String msg) |
void |
debug(String msg,
Throwable e) |
void |
error(String msg) |
void |
error(String msg,
Throwable e) |
static TraceableLogger |
getLogger(String name)
Find or create a logger for a named subsystem.
|
int |
getTraceLevel() |
boolean |
isDebugEnabled() |
boolean |
isErrorEnabled() |
boolean |
isTraceEnabled() |
boolean |
isWarnEnabled() |
void |
showGlobalTrace()
Display the global trace
|
void |
showThreadTrace()
Display the trace of the current thread
|
void |
trace(String msg) |
void |
warn(String msg) |
void |
warn(String msg,
Throwable e) |
public static TraceableLogger getLogger(String name)
Logger.getLogger(String)
public int getTraceLevel()
public void showThreadTrace()
public void clearThreadTrace()
public void showGlobalTrace()
public boolean isErrorEnabled()
public void error(String msg)
public boolean isWarnEnabled()
public void warn(String msg)
public boolean isDebugEnabled()
public void debug(String msg)
public boolean isTraceEnabled()
public void trace(String msg)
Copyright © GigaSpaces.