Package org.alfresco.util
Class LogTee
- java.lang.Object
-
- org.alfresco.util.LogAdapter
-
- org.alfresco.util.LogTee
-
- All Implemented Interfaces:
org.apache.commons.logging.Log
public class LogTee extends LogAdapter
Utility class to split or 'tee' twoLogclasses.- Since:
- 4.2
- Author:
- Alan Davis
-
-
Field Summary
Fields Modifier and Type Field Description protected org.apache.commons.logging.Loglog2-
Fields inherited from class org.alfresco.util.LogAdapter
log
-
-
Constructor Summary
Constructors Constructor Description LogTee(org.apache.commons.logging.Log log1, org.apache.commons.logging.Log log2)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddebug(Object arg0, Throwable arg1)voiderror(Object arg0, Throwable arg1)voidfatal(Object arg0, Throwable arg1)voidinfo(Object arg0, Throwable arg1)booleanisDebugEnabled()booleanisErrorEnabled()booleanisFatalEnabled()booleanisInfoEnabled()booleanisTraceEnabled()booleanisWarnEnabled()voidtrace(Object arg0, Throwable arg1)voidwarn(Object arg0, Throwable arg1)
-
-
-
Method Detail
-
trace
public void trace(Object arg0, Throwable arg1)
- Specified by:
tracein interfaceorg.apache.commons.logging.Log- Overrides:
tracein classLogAdapter
-
debug
public void debug(Object arg0, Throwable arg1)
- Specified by:
debugin interfaceorg.apache.commons.logging.Log- Overrides:
debugin classLogAdapter
-
info
public void info(Object arg0, Throwable arg1)
- Specified by:
infoin interfaceorg.apache.commons.logging.Log- Overrides:
infoin classLogAdapter
-
warn
public void warn(Object arg0, Throwable arg1)
- Specified by:
warnin interfaceorg.apache.commons.logging.Log- Overrides:
warnin classLogAdapter
-
error
public void error(Object arg0, Throwable arg1)
- Specified by:
errorin interfaceorg.apache.commons.logging.Log- Overrides:
errorin classLogAdapter
-
fatal
public void fatal(Object arg0, Throwable arg1)
- Specified by:
fatalin interfaceorg.apache.commons.logging.Log- Overrides:
fatalin classLogAdapter
-
isTraceEnabled
public boolean isTraceEnabled()
- Specified by:
isTraceEnabledin interfaceorg.apache.commons.logging.Log- Overrides:
isTraceEnabledin classLogAdapter
-
isDebugEnabled
public boolean isDebugEnabled()
- Specified by:
isDebugEnabledin interfaceorg.apache.commons.logging.Log- Overrides:
isDebugEnabledin classLogAdapter
-
isInfoEnabled
public boolean isInfoEnabled()
- Specified by:
isInfoEnabledin interfaceorg.apache.commons.logging.Log- Overrides:
isInfoEnabledin classLogAdapter
-
isWarnEnabled
public boolean isWarnEnabled()
- Specified by:
isWarnEnabledin interfaceorg.apache.commons.logging.Log- Overrides:
isWarnEnabledin classLogAdapter
-
isErrorEnabled
public boolean isErrorEnabled()
- Specified by:
isErrorEnabledin interfaceorg.apache.commons.logging.Log- Overrides:
isErrorEnabledin classLogAdapter
-
isFatalEnabled
public boolean isFatalEnabled()
- Specified by:
isFatalEnabledin interfaceorg.apache.commons.logging.Log- Overrides:
isFatalEnabledin classLogAdapter
-
-