Liferay 6.2-ce-ga5

com.liferay.portal.kernel.log
Class SanitizerLogWrapper

java.lang.Object
  extended by com.liferay.portal.kernel.log.LogWrapper
      extended by com.liferay.portal.kernel.log.SanitizerLogWrapper
All Implemented Interfaces:
Log

public class SanitizerLogWrapper
extends LogWrapper


Field Summary
protected static String CRLF_WARNING
           
 
Constructor Summary
SanitizerLogWrapper(Log log)
           
 
Method Summary
static Log allowCRLF(Log log)
           
 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)
           
 void info(Object msg)
           
 void info(Object msg, Throwable t)
           
 void info(Throwable t)
           
static void init()
           
static boolean isEnabled()
           
protected  String sanitize(Object obj)
           
protected  String sanitize(String message, String defaultResult)
           
protected  Throwable sanitize(Throwable throwable)
           
 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)
           
 
Methods inherited from class com.liferay.portal.kernel.log.LogWrapper
getWrappedLog, isDebugEnabled, isErrorEnabled, isFatalEnabled, isInfoEnabled, isTraceEnabled, isWarnEnabled, printMsg, setLog, setLogWrapperClassName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CRLF_WARNING

protected static final String CRLF_WARNING
See Also:
Constant Field Values
Constructor Detail

SanitizerLogWrapper

public SanitizerLogWrapper(Log log)
Method Detail

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)

Liferay 6.2-ce-ga5