|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jclouds.logging.ConsoleLogger
public class ConsoleLogger
Logger that logs to the console
Useful to get baseline performance unaffected by logging.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.jclouds.logging.Logger |
---|
Logger.LoggerFactory |
Field Summary |
---|
Fields inherited from interface org.jclouds.logging.Logger |
---|
CONSOLE, NULL |
Constructor Summary | |
---|---|
ConsoleLogger()
|
Method Summary | |
---|---|
void |
debug(String message,
Object... args)
|
void |
error(String message,
Object... args)
|
void |
error(Throwable throwable,
String message,
Object... args)
|
String |
getCategory()
|
void |
info(String message,
Object... args)
|
boolean |
isDebugEnabled()
|
boolean |
isErrorEnabled()
|
boolean |
isInfoEnabled()
|
boolean |
isTraceEnabled()
|
boolean |
isWarnEnabled()
|
void |
trace(String message,
Object... args)
|
void |
warn(String message,
Object... args)
|
void |
warn(Throwable throwable,
String message,
Object... args)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ConsoleLogger()
Method Detail |
---|
public void debug(String message, Object... args)
debug
in interface Logger
public void error(String message, Object... args)
error
in interface Logger
public void error(Throwable throwable, String message, Object... args)
error
in interface Logger
public String getCategory()
getCategory
in interface Logger
public void info(String message, Object... args)
info
in interface Logger
public boolean isDebugEnabled()
isDebugEnabled
in interface Logger
public boolean isErrorEnabled()
isErrorEnabled
in interface Logger
public boolean isInfoEnabled()
isInfoEnabled
in interface Logger
public boolean isTraceEnabled()
isTraceEnabled
in interface Logger
public boolean isWarnEnabled()
isWarnEnabled
in interface Logger
public void trace(String message, Object... args)
trace
in interface Logger
public void warn(String message, Object... args)
warn
in interface Logger
public void warn(Throwable throwable, String message, Object... args)
warn
in interface Logger
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |