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, 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 throwable)
debug in interface Logdebug in class LogWrapperpublic void debug(Throwable throwable)
debug in interface Logdebug in class LogWrapperpublic void error(Object msg)
error in interface Logerror in class LogWrapperpublic void error(Object msg,
Throwable throwable)
error in interface Logerror in class LogWrapperpublic void error(Throwable throwable)
error in interface Logerror in class LogWrapperpublic void fatal(Object msg)
fatal in interface Logfatal in class LogWrapperpublic void fatal(Object msg,
Throwable throwable)
fatal in interface Logfatal in class LogWrapperpublic void fatal(Throwable throwable)
fatal in interface Logfatal in class LogWrapperpublic void info(Object msg)
info in interface Loginfo in class LogWrapperpublic void info(Object msg,
Throwable throwable)
info in interface Loginfo in class LogWrapperpublic void info(Throwable throwable)
info in interface Loginfo in class LogWrapperpublic void trace(Object msg)
trace in interface Logtrace in class LogWrapperpublic void trace(Object msg,
Throwable throwable)
trace in interface Logtrace in class LogWrapperpublic void trace(Throwable throwable)
trace in interface Logtrace in class LogWrapperpublic void warn(Object msg)
warn in interface Logwarn in class LogWrapperpublic void warn(Object msg,
Throwable throwable)
warn in interface Logwarn in class LogWrapperpublic void warn(Throwable throwable)
warn in interface Logwarn in class LogWrapperprotected String sanitize(Object object)
protected String sanitize(String message,
String defaultResult)
protected Throwable sanitize(Throwable throwable)