public class Log4jLogImpl
extends Object
implements com.liferay.portal.kernel.log.Log
Constructor and Description |
---|
Log4jLogImpl(org.apache.log4j.Logger logger) |
Modifier and Type | Method and Description |
---|---|
void |
debug(Object msg) |
void |
debug(Object msg,
Throwable t) |
void |
debug(Throwable t) |
void |
error(Object msg) |
void |
error(Object msg,
Throwable t) |
void |
error(Throwable t) |
void |
fatal(Object msg) |
void |
fatal(Object msg,
Throwable t) |
void |
fatal(Throwable t) |
org.apache.log4j.Logger |
getWrappedLogger() |
void |
info(Object msg) |
void |
info(Object msg,
Throwable t) |
void |
info(Throwable t) |
boolean |
isDebugEnabled() |
boolean |
isErrorEnabled() |
boolean |
isFatalEnabled() |
boolean |
isInfoEnabled() |
boolean |
isTraceEnabled() |
boolean |
isWarnEnabled() |
void |
setLogWrapperClassName(String className) |
void |
trace(Object msg) |
void |
trace(Object msg,
Throwable t) |
void |
trace(Throwable t) |
void |
warn(Object msg) |
void |
warn(Object msg,
Throwable t) |
void |
warn(Throwable t) |
public void debug(Object msg)
debug
in interface com.liferay.portal.kernel.log.Log
public void debug(Object msg, Throwable t)
debug
in interface com.liferay.portal.kernel.log.Log
public void debug(Throwable t)
debug
in interface com.liferay.portal.kernel.log.Log
public void error(Object msg)
error
in interface com.liferay.portal.kernel.log.Log
public void error(Object msg, Throwable t)
error
in interface com.liferay.portal.kernel.log.Log
public void error(Throwable t)
error
in interface com.liferay.portal.kernel.log.Log
public void fatal(Object msg)
fatal
in interface com.liferay.portal.kernel.log.Log
public void fatal(Object msg, Throwable t)
fatal
in interface com.liferay.portal.kernel.log.Log
public void fatal(Throwable t)
fatal
in interface com.liferay.portal.kernel.log.Log
public org.apache.log4j.Logger getWrappedLogger()
public void info(Object msg)
info
in interface com.liferay.portal.kernel.log.Log
public void info(Object msg, Throwable t)
info
in interface com.liferay.portal.kernel.log.Log
public void info(Throwable t)
info
in interface com.liferay.portal.kernel.log.Log
public boolean isDebugEnabled()
isDebugEnabled
in interface com.liferay.portal.kernel.log.Log
public boolean isErrorEnabled()
isErrorEnabled
in interface com.liferay.portal.kernel.log.Log
public boolean isFatalEnabled()
isFatalEnabled
in interface com.liferay.portal.kernel.log.Log
public boolean isInfoEnabled()
isInfoEnabled
in interface com.liferay.portal.kernel.log.Log
public boolean isTraceEnabled()
isTraceEnabled
in interface com.liferay.portal.kernel.log.Log
public boolean isWarnEnabled()
isWarnEnabled
in interface com.liferay.portal.kernel.log.Log
public void setLogWrapperClassName(String className)
setLogWrapperClassName
in interface com.liferay.portal.kernel.log.Log
public void trace(Object msg)
trace
in interface com.liferay.portal.kernel.log.Log
public void trace(Object msg, Throwable t)
trace
in interface com.liferay.portal.kernel.log.Log
public void trace(Throwable t)
trace
in interface com.liferay.portal.kernel.log.Log
public void warn(Object msg)
warn
in interface com.liferay.portal.kernel.log.Log
public void warn(Object msg, Throwable t)
warn
in interface com.liferay.portal.kernel.log.Log
public void warn(Throwable t)
warn
in interface com.liferay.portal.kernel.log.Log