public abstract class LogFilter extends Object
A typical use is to filter out passwords so these will not be persisted in a logging store.
| Modifier | Constructor and Description |
|---|---|
protected |
LogFilter()
Constructs a new
LogFilter. |
public abstract String filter(String logger, String param, String value)
String value.logger - the name of the logger, for example "org.xins.common.lowlevel.1050", cannot be null.param - the name of the parameter, for example "queryString", cannot be null.value - the original parameter value, can be null.null.public abstract Object filter(String logger, String param, Object value)
Object value.logger - the name of the logger, for example "org.xins.common.lowlevel.1050", cannot be null.param - the name of the parameter, for example "queryString", cannot be null.value - the original parameter value, can be null.null.Copyright © 2003-2013. All Rights Reserved.