org.jclouds.logging
Class NullLogger
java.lang.Object
org.jclouds.logging.NullLogger
- All Implemented Interfaces:
- Logger
public class NullLogger
- extends Object
- implements Logger
Logger that doesn't do anything.
Useful to get baseline performance unaffected by logging.
- Author:
- Adrian Cole
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NullLogger
public NullLogger()
debug
public void debug(String message,
Object... args)
- Specified by:
debug
in interface Logger
error
public void error(String message,
Object... args)
- Specified by:
error
in interface Logger
error
public void error(Throwable throwable,
String message,
Object... args)
- Specified by:
error
in interface Logger
getCategory
public String getCategory()
- Specified by:
getCategory
in interface Logger
info
public void info(String message,
Object... args)
- Specified by:
info
in interface Logger
isDebugEnabled
public boolean isDebugEnabled()
- Specified by:
isDebugEnabled
in interface Logger
isErrorEnabled
public boolean isErrorEnabled()
- Specified by:
isErrorEnabled
in interface Logger
isInfoEnabled
public boolean isInfoEnabled()
- Specified by:
isInfoEnabled
in interface Logger
isTraceEnabled
public boolean isTraceEnabled()
- Specified by:
isTraceEnabled
in interface Logger
isWarnEnabled
public boolean isWarnEnabled()
- Specified by:
isWarnEnabled
in interface Logger
trace
public void trace(String message,
Object... args)
- Specified by:
trace
in interface Logger
warn
public void warn(String message,
Object... args)
- Specified by:
warn
in interface Logger
warn
public void warn(Throwable throwable,
String message,
Object... args)
- Specified by:
warn
in interface Logger
Copyright © 2009-2012 jclouds. All Rights Reserved.