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, setLogWrapperClassNameprotected 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 Logdebug in class LogWrapperpublic void debug(Object msg, Throwable t)
debug in interface Logdebug in class LogWrapperpublic void debug(Throwable t)
debug in interface Logdebug in class LogWrapperpublic void error(Object msg)
error in interface Logerror in class LogWrapperpublic void error(Object msg, Throwable t)
error in interface Logerror in class LogWrapperpublic void error(Throwable t)
error in interface Logerror in class LogWrapperpublic void fatal(Object msg)
fatal in interface Logfatal in class LogWrapperpublic void fatal(Object msg, Throwable t)
fatal in interface Logfatal in class LogWrapperpublic void fatal(Throwable t)
fatal in interface Logfatal in class LogWrapperpublic void info(Object msg)
info in interface Loginfo in class LogWrapperpublic void info(Object msg, Throwable t)
info in interface Loginfo in class LogWrapperpublic void info(Throwable t)
info in interface Loginfo in class LogWrapperpublic void trace(Object msg)
trace in interface Logtrace in class LogWrapperpublic void trace(Object msg, Throwable t)
trace in interface Logtrace in class LogWrapperpublic void trace(Throwable t)
trace in interface Logtrace in class LogWrapperpublic void warn(Object msg)
warn in interface Logwarn in class LogWrapperpublic void warn(Object msg, Throwable t)
warn in interface Logwarn in class LogWrapperpublic void warn(Throwable t)
warn in interface Logwarn in class LogWrapper