Package org.jclouds.logging
Class BaseLogger
- java.lang.Object
-
- org.jclouds.logging.BaseLogger
-
- All Implemented Interfaces:
Logger
- Direct Known Subclasses:
JDKLogger
,Log4JLogger
,SLF4JLogger
public abstract class BaseLogger extends Object implements Logger
Base implementation that constructs formatted log strings.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.jclouds.logging.Logger
Logger.LoggerFactory
-
-
Constructor Summary
Constructors Constructor Description BaseLogger()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description void
debug(String message, Object... args)
void
error(String message, Object... args)
void
error(Throwable e, String message, Object... args)
void
info(String message, Object... args)
protected abstract void
logDebug(String message)
protected abstract void
logError(String message)
protected abstract void
logError(String message, Throwable e)
protected abstract void
logInfo(String message)
protected abstract void
logTrace(String message)
protected abstract void
logWarn(String message)
protected abstract void
logWarn(String message, Throwable e)
void
trace(String message, Object... args)
void
warn(String message, Object... args)
void
warn(Throwable e, String message, Object... args)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.jclouds.logging.Logger
getCategory, isDebugEnabled, isErrorEnabled, isInfoEnabled, isTraceEnabled, isWarnEnabled
-
-
-
-
Method Detail
-
logError
protected abstract void logError(String message)
-
logWarn
protected abstract void logWarn(String message)
-
logInfo
protected abstract void logInfo(String message)
-
logDebug
protected abstract void logDebug(String message)
-
logTrace
protected abstract void logTrace(String message)
-
-