com.liferay.portal.log
Class Log4jLogImpl
java.lang.Object
com.liferay.portal.log.Log4jLogImpl
- All Implemented Interfaces:
- com.liferay.portal.kernel.log.Log
public class Log4jLogImpl
- extends Object
- implements com.liferay.portal.kernel.log.Log
|
Constructor Summary |
Log4jLogImpl(org.apache.log4j.Logger logger)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Log4jLogImpl
public Log4jLogImpl(org.apache.log4j.Logger logger)
debug
public void debug(Object msg)
- Specified by:
debug in interface com.liferay.portal.kernel.log.Log
debug
public void debug(Object msg,
Throwable t)
- Specified by:
debug in interface com.liferay.portal.kernel.log.Log
debug
public void debug(Throwable t)
- Specified by:
debug in interface com.liferay.portal.kernel.log.Log
error
public void error(Object msg)
- Specified by:
error in interface com.liferay.portal.kernel.log.Log
error
public void error(Object msg,
Throwable t)
- Specified by:
error in interface com.liferay.portal.kernel.log.Log
error
public void error(Throwable t)
- Specified by:
error in interface com.liferay.portal.kernel.log.Log
fatal
public void fatal(Object msg)
- Specified by:
fatal in interface com.liferay.portal.kernel.log.Log
fatal
public void fatal(Object msg,
Throwable t)
- Specified by:
fatal in interface com.liferay.portal.kernel.log.Log
fatal
public void fatal(Throwable t)
- Specified by:
fatal in interface com.liferay.portal.kernel.log.Log
getWrappedLogger
public org.apache.log4j.Logger getWrappedLogger()
info
public void info(Object msg)
- Specified by:
info in interface com.liferay.portal.kernel.log.Log
info
public void info(Object msg,
Throwable t)
- Specified by:
info in interface com.liferay.portal.kernel.log.Log
info
public void info(Throwable t)
- Specified by:
info in interface com.liferay.portal.kernel.log.Log
isDebugEnabled
public boolean isDebugEnabled()
- Specified by:
isDebugEnabled in interface com.liferay.portal.kernel.log.Log
isErrorEnabled
public boolean isErrorEnabled()
- Specified by:
isErrorEnabled in interface com.liferay.portal.kernel.log.Log
isFatalEnabled
public boolean isFatalEnabled()
- Specified by:
isFatalEnabled in interface com.liferay.portal.kernel.log.Log
isInfoEnabled
public boolean isInfoEnabled()
- Specified by:
isInfoEnabled in interface com.liferay.portal.kernel.log.Log
isTraceEnabled
public boolean isTraceEnabled()
- Specified by:
isTraceEnabled in interface com.liferay.portal.kernel.log.Log
isWarnEnabled
public boolean isWarnEnabled()
- Specified by:
isWarnEnabled in interface com.liferay.portal.kernel.log.Log
setLogWrapperClassName
public void setLogWrapperClassName(String className)
- Specified by:
setLogWrapperClassName in interface com.liferay.portal.kernel.log.Log
trace
public void trace(Object msg)
- Specified by:
trace in interface com.liferay.portal.kernel.log.Log
trace
public void trace(Object msg,
Throwable t)
- Specified by:
trace in interface com.liferay.portal.kernel.log.Log
trace
public void trace(Throwable t)
- Specified by:
trace in interface com.liferay.portal.kernel.log.Log
warn
public void warn(Object msg)
- Specified by:
warn in interface com.liferay.portal.kernel.log.Log
warn
public void warn(Object msg,
Throwable t)
- Specified by:
warn in interface com.liferay.portal.kernel.log.Log
warn
public void warn(Throwable t)
- Specified by:
warn in interface com.liferay.portal.kernel.log.Log