@AlfrescoPublicApi public abstract class LogAdapter extends Object implements org.apache.commons.logging.Log
Log
class.Modifier and Type | Field and Description |
---|---|
protected org.apache.commons.logging.Log |
log |
Modifier | Constructor and Description |
---|---|
protected |
LogAdapter(org.apache.commons.logging.Log log)
Constructor of an optional wrapped
Log . |
Modifier and Type | Method and Description |
---|---|
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) |
protected LogAdapter(org.apache.commons.logging.Log log)
Log
.log
- public void trace(Object arg0)
trace
in interface org.apache.commons.logging.Log
public void trace(Object arg0, Throwable arg1)
trace
in interface org.apache.commons.logging.Log
public void debug(Object arg0)
debug
in interface org.apache.commons.logging.Log
public void debug(Object arg0, Throwable arg1)
debug
in interface org.apache.commons.logging.Log
public void info(Object arg0)
info
in interface org.apache.commons.logging.Log
public void info(Object arg0, Throwable arg1)
info
in interface org.apache.commons.logging.Log
public void warn(Object arg0)
warn
in interface org.apache.commons.logging.Log
public void warn(Object arg0, Throwable arg1)
warn
in interface org.apache.commons.logging.Log
public void error(Object arg0)
error
in interface org.apache.commons.logging.Log
public void error(Object arg0, Throwable arg1)
error
in interface org.apache.commons.logging.Log
public void fatal(Object arg0)
fatal
in interface org.apache.commons.logging.Log
public void fatal(Object arg0, Throwable arg1)
fatal
in interface org.apache.commons.logging.Log
public boolean isTraceEnabled()
isTraceEnabled
in interface org.apache.commons.logging.Log
public boolean isDebugEnabled()
isDebugEnabled
in interface org.apache.commons.logging.Log
public boolean isInfoEnabled()
isInfoEnabled
in interface org.apache.commons.logging.Log
public boolean isWarnEnabled()
isWarnEnabled
in interface org.apache.commons.logging.Log
public boolean isErrorEnabled()
isErrorEnabled
in interface org.apache.commons.logging.Log
public boolean isFatalEnabled()
isFatalEnabled
in interface org.apache.commons.logging.Log
Copyright © 2005–2020 Alfresco Software. All rights reserved.