Overview  Package   Class  Use  Tree  Deprecated  Index  Help 
PREV CLASS   NEXT CLASS FRAMES    NO FRAMES    All Classes
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

org.alfresco.util
Class LogAdapter
java.lang.Object
  org.alfresco.util.LogAdapter
All Implemented Interfaces:
org.apache.commons.logging.Log
Direct Known Subclasses:
TransformerLog

@org.alfresco.api.AlfrescoPublicApi
public abstract class LogAdapter
extends Object
implements org.apache.commons.logging.Log
Utility class to adapt a org.apache.commons.logging.Log class.
Since:
4.2
Author:
Alan Davis

Field Summary
protected org.apache.commons.logging.Log
log
Constructor Summary
protected
LogAdapter(org.apache.commons.logging.Log log)
          Constructor of an optional wrapped org.apache.commons.logging.Log.
Method Summary
void
debug(Object arg0)
void
debug(Object arg0, Throwable arg1)
void
error(Object arg0)
void
error(Object arg0, Throwable arg1)
void
fatal(Object arg0)
void
fatal(Object arg0, Throwable arg1)
void
info(Object arg0)
void
info(Object arg0, Throwable arg1)
boolean
isDebugEnabled()
boolean
isErrorEnabled()
boolean
isFatalEnabled()
boolean
isInfoEnabled()
boolean
isTraceEnabled()
boolean
isWarnEnabled()
void
trace(Object arg0)
void
trace(Object arg0, Throwable arg1)
void
warn(Object arg0)
void
warn(Object arg0, Throwable arg1)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Field Detail
log
protected final org.apache.commons.logging.Log log
Constructor Detail
LogAdapter
protected LogAdapter(org.apache.commons.logging.Log log)
Constructor of an optional wrapped org.apache.commons.logging.Log.
Method Detail
trace
public void trace(Object arg0)
Specified by:
trace in interface org.apache.commons.logging.Log

trace
public void trace(Object arg0,
                  Throwable arg1)
Specified by:
trace in interface org.apache.commons.logging.Log

debug
public void debug(Object arg0)
Specified by:
debug in interface org.apache.commons.logging.Log

debug
public void debug(Object arg0,
                  Throwable arg1)
Specified by:
debug in interface org.apache.commons.logging.Log

info
public void info(Object arg0)
Specified by:
info in interface org.apache.commons.logging.Log

info
public void info(Object arg0,
                 Throwable arg1)
Specified by:
info in interface org.apache.commons.logging.Log

warn
public void warn(Object arg0)
Specified by:
warn in interface org.apache.commons.logging.Log

warn
public void warn(Object arg0,
                 Throwable arg1)
Specified by:
warn in interface org.apache.commons.logging.Log

error
public void error(Object arg0)
Specified by:
error in interface org.apache.commons.logging.Log

error
public void error(Object arg0,
                  Throwable arg1)
Specified by:
error in interface org.apache.commons.logging.Log

fatal
public void fatal(Object arg0)
Specified by:
fatal in interface org.apache.commons.logging.Log

fatal
public void fatal(Object arg0,
                  Throwable arg1)
Specified by:
fatal in interface org.apache.commons.logging.Log

isTraceEnabled
public boolean isTraceEnabled()
Specified by:
isTraceEnabled in interface org.apache.commons.logging.Log

isDebugEnabled
public boolean isDebugEnabled()
Specified by:
isDebugEnabled in interface org.apache.commons.logging.Log

isInfoEnabled
public boolean isInfoEnabled()
Specified by:
isInfoEnabled in interface org.apache.commons.logging.Log

isWarnEnabled
public boolean isWarnEnabled()
Specified by:
isWarnEnabled in interface org.apache.commons.logging.Log

isErrorEnabled
public boolean isErrorEnabled()
Specified by:
isErrorEnabled in interface org.apache.commons.logging.Log

isFatalEnabled
public boolean isFatalEnabled()
Specified by:
isFatalEnabled in interface org.apache.commons.logging.Log

Overview  Package   Class  Use  Tree  Deprecated  Index  Help 
PREV CLASS   NEXT CLASS FRAMES    NO FRAMES    All Classes
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

Copyright © 2005–2018 Alfresco Software. All rights reserved.

Java API documentation generated with DocFlex/Javadoc 1.6.1 using JavadocPro template set.