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 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) |
static void |
init() |
static boolean |
isEnabled() |
protected String |
sanitize(Object object) |
protected String |
sanitize(String message,
String defaultResult) |
protected Throwable |
sanitize(Throwable throwable) |
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) |
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 throwable)
debug
in interface Log
debug
in class LogWrapper
public void debug(Throwable throwable)
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 throwable)
error
in interface Log
error
in class LogWrapper
public void error(Throwable throwable)
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 throwable)
fatal
in interface Log
fatal
in class LogWrapper
public void fatal(Throwable throwable)
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 throwable)
info
in interface Log
info
in class LogWrapper
public void info(Throwable throwable)
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 throwable)
trace
in interface Log
trace
in class LogWrapper
public void trace(Throwable throwable)
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 throwable)
warn
in interface Log
warn
in class LogWrapper
public void warn(Throwable throwable)
warn
in interface Log
warn
in class LogWrapper
protected String sanitize(Object object)
protected String sanitize(String message, String defaultResult)
protected Throwable sanitize(Throwable throwable)