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' twoLog
classes.- Since:
- 4.2
- Author:
- Alan Davis
-
-
Field Summary
Fields Modifier and Type Field Description protected org.apache.commons.logging.Log
log2
-
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 void
debug(Object arg0, Throwable arg1)
void
error(Object arg0, Throwable arg1)
void
fatal(Object arg0, Throwable arg1)
void
info(Object arg0, Throwable arg1)
boolean
isDebugEnabled()
boolean
isErrorEnabled()
boolean
isFatalEnabled()
boolean
isInfoEnabled()
boolean
isTraceEnabled()
boolean
isWarnEnabled()
void
trace(Object arg0, Throwable arg1)
void
warn(Object arg0, Throwable arg1)
-
-
-
Method Detail
-
trace
public void trace(Object arg0, Throwable arg1)
- Specified by:
trace
in interfaceorg.apache.commons.logging.Log
- Overrides:
trace
in classLogAdapter
-
debug
public void debug(Object arg0, Throwable arg1)
- Specified by:
debug
in interfaceorg.apache.commons.logging.Log
- Overrides:
debug
in classLogAdapter
-
info
public void info(Object arg0, Throwable arg1)
- Specified by:
info
in interfaceorg.apache.commons.logging.Log
- Overrides:
info
in classLogAdapter
-
warn
public void warn(Object arg0, Throwable arg1)
- Specified by:
warn
in interfaceorg.apache.commons.logging.Log
- Overrides:
warn
in classLogAdapter
-
error
public void error(Object arg0, Throwable arg1)
- Specified by:
error
in interfaceorg.apache.commons.logging.Log
- Overrides:
error
in classLogAdapter
-
fatal
public void fatal(Object arg0, Throwable arg1)
- Specified by:
fatal
in interfaceorg.apache.commons.logging.Log
- Overrides:
fatal
in classLogAdapter
-
isTraceEnabled
public boolean isTraceEnabled()
- Specified by:
isTraceEnabled
in interfaceorg.apache.commons.logging.Log
- Overrides:
isTraceEnabled
in classLogAdapter
-
isDebugEnabled
public boolean isDebugEnabled()
- Specified by:
isDebugEnabled
in interfaceorg.apache.commons.logging.Log
- Overrides:
isDebugEnabled
in classLogAdapter
-
isInfoEnabled
public boolean isInfoEnabled()
- Specified by:
isInfoEnabled
in interfaceorg.apache.commons.logging.Log
- Overrides:
isInfoEnabled
in classLogAdapter
-
isWarnEnabled
public boolean isWarnEnabled()
- Specified by:
isWarnEnabled
in interfaceorg.apache.commons.logging.Log
- Overrides:
isWarnEnabled
in classLogAdapter
-
isErrorEnabled
public boolean isErrorEnabled()
- Specified by:
isErrorEnabled
in interfaceorg.apache.commons.logging.Log
- Overrides:
isErrorEnabled
in classLogAdapter
-
isFatalEnabled
public boolean isFatalEnabled()
- Specified by:
isFatalEnabled
in interfaceorg.apache.commons.logging.Log
- Overrides:
isFatalEnabled
in classLogAdapter
-
-