Package org.jclouds.logging.jdk
Class JDKLogger
- java.lang.Object
-
- org.jclouds.logging.BaseLogger
-
- org.jclouds.logging.jdk.JDKLogger
-
- All Implemented Interfaces:
Logger
public class JDKLogger extends BaseLogger
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
JDKLogger.JDKLoggerFactory
-
Nested classes/interfaces inherited from interface org.jclouds.logging.Logger
Logger.LoggerFactory
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getCategory()
boolean
isDebugEnabled()
boolean
isErrorEnabled()
boolean
isInfoEnabled()
boolean
isTraceEnabled()
boolean
isWarnEnabled()
protected void
logDebug(String message)
protected void
logError(String message)
protected void
logError(String message, Throwable e)
protected void
logInfo(String message)
protected void
logTrace(String message)
protected void
logWarn(String message)
protected void
logWarn(String message, Throwable e)
-
-
-
Constructor Detail
-
JDKLogger
public JDKLogger(Logger logger)
-
-
Method Detail
-
logTrace
protected void logTrace(String message)
- Specified by:
logTrace
in classBaseLogger
-
isTraceEnabled
public boolean isTraceEnabled()
-
logDebug
protected void logDebug(String message)
- Specified by:
logDebug
in classBaseLogger
-
isDebugEnabled
public boolean isDebugEnabled()
-
logInfo
protected void logInfo(String message)
- Specified by:
logInfo
in classBaseLogger
-
isInfoEnabled
public boolean isInfoEnabled()
-
logWarn
protected void logWarn(String message)
- Specified by:
logWarn
in classBaseLogger
-
logWarn
protected void logWarn(String message, Throwable e)
- Specified by:
logWarn
in classBaseLogger
-
isWarnEnabled
public boolean isWarnEnabled()
-
logError
protected void logError(String message)
- Specified by:
logError
in classBaseLogger
-
logError
protected void logError(String message, Throwable e)
- Specified by:
logError
in classBaseLogger
-
isErrorEnabled
public boolean isErrorEnabled()
-
getCategory
public String getCategory()
-
-