logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Womack <mwom...@bevocal.com>
Subject RE: More Filter Thoughts
Date Fri, 07 Jun 2002 04:26:08 GMT
> 2) we find a different name for ChainableFilterBase, for example
> BasicFilter or FilterCore.
> 
> The second option seems somewhat wiser because the basic notion of
> chaining filters is not being challenged.

OK.  I was just trying to capture the aspect that filters subclassing from
this base class will be "chain-compatible".  This is not true of all filters
since it is dependent on the return values they choose to support.

I'll come up with something.  I might just support 3 properties:
chainPolicy which sets one of the 4 valid "chain-compatible" return value
pairs; setMatchValue() and setNoMatchValue() which would allow any filter
return value combination.  You would use chainPolicy() or setMatchValue()
and setNoMatchValue().  That way a filter could be used as part of a chain
or by itself.

I just want to get something in place.  If people don't like it we can
change it or remove it altogether.

-Mark

--
To unsubscribe, e-mail:   <mailto:log4j-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:log4j-dev-help@jakarta.apache.org>


Mime
View raw message