com.liferay.portal.kernel.log
Class SanitizerLogWrapper
java.lang.Object
com.liferay.portal.kernel.log.LogWrapper
com.liferay.portal.kernel.log.SanitizerLogWrapper
- All Implemented Interfaces:
- Log
public class SanitizerLogWrapper
- extends LogWrapper
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CRLF_WARNING
protected static final String CRLF_WARNING
- See Also:
- Constant Field Values
SanitizerLogWrapper
public SanitizerLogWrapper(Log log)
allowCRLF
public static Log allowCRLF(Log log)
init
public static void init()
isEnabled
public static boolean isEnabled()
debug
public void debug(Object msg)
- Specified by:
debug
in interface Log
- Overrides:
debug
in class LogWrapper
debug
public void debug(Object msg,
Throwable t)
- Specified by:
debug
in interface Log
- Overrides:
debug
in class LogWrapper
debug
public void debug(Throwable t)
- Specified by:
debug
in interface Log
- Overrides:
debug
in class LogWrapper
error
public void error(Object msg)
- Specified by:
error
in interface Log
- Overrides:
error
in class LogWrapper
error
public void error(Object msg,
Throwable t)
- Specified by:
error
in interface Log
- Overrides:
error
in class LogWrapper
error
public void error(Throwable t)
- Specified by:
error
in interface Log
- Overrides:
error
in class LogWrapper
fatal
public void fatal(Object msg)
- Specified by:
fatal
in interface Log
- Overrides:
fatal
in class LogWrapper
fatal
public void fatal(Object msg,
Throwable t)
- Specified by:
fatal
in interface Log
- Overrides:
fatal
in class LogWrapper
fatal
public void fatal(Throwable t)
- Specified by:
fatal
in interface Log
- Overrides:
fatal
in class LogWrapper
info
public void info(Object msg)
- Specified by:
info
in interface Log
- Overrides:
info
in class LogWrapper
info
public void info(Object msg,
Throwable t)
- Specified by:
info
in interface Log
- Overrides:
info
in class LogWrapper
info
public void info(Throwable t)
- Specified by:
info
in interface Log
- Overrides:
info
in class LogWrapper
trace
public void trace(Object msg)
- Specified by:
trace
in interface Log
- Overrides:
trace
in class LogWrapper
trace
public void trace(Object msg,
Throwable t)
- Specified by:
trace
in interface Log
- Overrides:
trace
in class LogWrapper
trace
public void trace(Throwable t)
- Specified by:
trace
in interface Log
- Overrides:
trace
in class LogWrapper
warn
public void warn(Object msg)
- Specified by:
warn
in interface Log
- Overrides:
warn
in class LogWrapper
warn
public void warn(Object msg,
Throwable t)
- Specified by:
warn
in interface Log
- Overrides:
warn
in class LogWrapper
warn
public void warn(Throwable t)
- Specified by:
warn
in interface Log
- Overrides:
warn
in class LogWrapper
sanitize
protected String sanitize(Object obj)
sanitize
protected String sanitize(String message,
String defaultResult)
sanitize
protected Throwable sanitize(Throwable throwable)