Package org.alfresco.util
Class LogAdapter
java.lang.Object
org.alfresco.util.LogAdapter
- All Implemented Interfaces:
org.apache.commons.logging.Log
- Direct Known Subclasses:
LogTee
@AlfrescoPublicApi
public abstract class LogAdapter
extends Object
implements org.apache.commons.logging.Log
Utility class to adapt a
Log
class.- Since:
- 4.2
- Author:
- Alan Davis
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
LogAdapter
(org.apache.commons.logging.Log log) Constructor of an optional wrappedLog
. -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
void
void
void
void
void
boolean
boolean
boolean
boolean
boolean
boolean
void
void
void
void
-
Field Details
-
log
protected final org.apache.commons.logging.Log log
-
-
Constructor Details
-
LogAdapter
protected LogAdapter(org.apache.commons.logging.Log log) Constructor of an optional wrappedLog
.- Parameters:
log
-
-
-
Method Details
-
trace
- Specified by:
trace
in interfaceorg.apache.commons.logging.Log
-
trace
- Specified by:
trace
in interfaceorg.apache.commons.logging.Log
-
debug
- Specified by:
debug
in interfaceorg.apache.commons.logging.Log
-
debug
- Specified by:
debug
in interfaceorg.apache.commons.logging.Log
-
info
- Specified by:
info
in interfaceorg.apache.commons.logging.Log
-
info
- Specified by:
info
in interfaceorg.apache.commons.logging.Log
-
warn
- Specified by:
warn
in interfaceorg.apache.commons.logging.Log
-
warn
- Specified by:
warn
in interfaceorg.apache.commons.logging.Log
-
error
- Specified by:
error
in interfaceorg.apache.commons.logging.Log
-
error
- Specified by:
error
in interfaceorg.apache.commons.logging.Log
-
fatal
- Specified by:
fatal
in interfaceorg.apache.commons.logging.Log
-
fatal
- Specified by:
fatal
in interfaceorg.apache.commons.logging.Log
-
isTraceEnabled
public boolean isTraceEnabled()- Specified by:
isTraceEnabled
in interfaceorg.apache.commons.logging.Log
-
isDebugEnabled
public boolean isDebugEnabled()- Specified by:
isDebugEnabled
in interfaceorg.apache.commons.logging.Log
-
isInfoEnabled
public boolean isInfoEnabled()- Specified by:
isInfoEnabled
in interfaceorg.apache.commons.logging.Log
-
isWarnEnabled
public boolean isWarnEnabled()- Specified by:
isWarnEnabled
in interfaceorg.apache.commons.logging.Log
-
isErrorEnabled
public boolean isErrorEnabled()- Specified by:
isErrorEnabled
in interfaceorg.apache.commons.logging.Log
-
isFatalEnabled
public boolean isFatalEnabled()- Specified by:
isFatalEnabled
in interfaceorg.apache.commons.logging.Log
-