logging-log4net-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brian Carlson" <bcarl...@Tier.com>
Subject Nested Config settings...
Date Wed, 21 Apr 2010 18:03:55 GMT
I have a custom filter, doing an AND of multiple property checks.  I
need to be able to read in the following config...

 

<filter
type="MyNameSpace.Logging.Appender.MultiplePropertyFilter,CommonUtilitie
s">

<Condition>

  <key value="Property1" />

  <stringToMatch value="aaaa" />

</Condition>

<Condition>

  <key value="Property2" />

  <stringToMatch value="bbb" />

</Condition>

</filter>

 

 

Does anyone know how to implement this so my class has access to the
nested nodes?

 

Thanks,

Brian


Mime
View raw message