public class Log4jLogImpl
extends Object
implements com.liferay.portal.kernel.log.Log
Constructor and Description |
---|
Log4jLogImpl(org.apache.logging.log4j.Logger logger) |
Modifier and Type | Method and Description |
---|---|
void |
debug(Object msg) |
void |
debug(Object msg,
Throwable throwable) |
void |
debug(Throwable throwable) |
void |
error(Object msg) |
void |
error(Object msg,
Throwable throwable) |
void |
error(Throwable throwable) |
void |
fatal(Object msg) |
void |
fatal(Object msg,
Throwable throwable) |
void |
fatal(Throwable throwable) |
void |
info(Object msg) |
void |
info(Object msg,
Throwable throwable) |
void |
info(Throwable throwable) |
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 throwable) |
void |
trace(Throwable throwable) |
void |
warn(Object msg) |
void |
warn(Object msg,
Throwable throwable) |
void |
warn(Throwable throwable) |
public void debug(Object msg)
debug
in interface com.liferay.portal.kernel.log.Log
public void debug(Object msg, Throwable throwable)
debug
in interface com.liferay.portal.kernel.log.Log
public void debug(Throwable throwable)
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 throwable)
error
in interface com.liferay.portal.kernel.log.Log
public void error(Throwable throwable)
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 throwable)
fatal
in interface com.liferay.portal.kernel.log.Log
public void fatal(Throwable throwable)
fatal
in interface com.liferay.portal.kernel.log.Log
public void info(Object msg)
info
in interface com.liferay.portal.kernel.log.Log
public void info(Object msg, Throwable throwable)
info
in interface com.liferay.portal.kernel.log.Log
public void info(Throwable throwable)
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 throwable)
trace
in interface com.liferay.portal.kernel.log.Log
public void trace(Throwable throwable)
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 throwable)
warn
in interface com.liferay.portal.kernel.log.Log
public void warn(Throwable throwable)
warn
in interface com.liferay.portal.kernel.log.Log