public class SanitizerLogWrapper extends LogWrapper
Modifier and Type | Field and Description |
---|---|
protected static String |
CRLF_WARNING |
Constructor and Description |
---|
SanitizerLogWrapper(Log log) |
Modifier and Type | Method and Description |
---|---|
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) |
getWrappedLog, isDebugEnabled, isErrorEnabled, isFatalEnabled, isInfoEnabled, isTraceEnabled, isWarnEnabled, printMsg, setLog, setLogWrapperClassName
protected static final String CRLF_WARNING
public SanitizerLogWrapper(Log log)
public static void init()
public static boolean isEnabled()
public void debug(Object msg)
debug
in interface Log
debug
in class LogWrapper
public void debug(Object msg, Throwable t)
debug
in interface Log
debug
in class LogWrapper
public void debug(Throwable t)
debug
in interface Log
debug
in class LogWrapper
public void error(Object msg)
error
in interface Log
error
in class LogWrapper
public void error(Object msg, Throwable t)
error
in interface Log
error
in class LogWrapper
public void error(Throwable t)
error
in interface Log
error
in class LogWrapper
public void fatal(Object msg)
fatal
in interface Log
fatal
in class LogWrapper
public void fatal(Object msg, Throwable t)
fatal
in interface Log
fatal
in class LogWrapper
public void fatal(Throwable t)
fatal
in interface Log
fatal
in class LogWrapper
public void info(Object msg)
info
in interface Log
info
in class LogWrapper
public void info(Object msg, Throwable t)
info
in interface Log
info
in class LogWrapper
public void info(Throwable t)
info
in interface Log
info
in class LogWrapper
public void trace(Object msg)
trace
in interface Log
trace
in class LogWrapper
public void trace(Object msg, Throwable t)
trace
in interface Log
trace
in class LogWrapper
public void trace(Throwable t)
trace
in interface Log
trace
in class LogWrapper
public void warn(Object msg)
warn
in interface Log
warn
in class LogWrapper
public void warn(Object msg, Throwable t)
warn
in interface Log
warn
in class LogWrapper
public void warn(Throwable t)
warn
in interface Log
warn
in class LogWrapper
protected String sanitize(Object obj)
protected String sanitize(String message, String defaultResult)
protected Throwable sanitize(Throwable throwable)