Peter, Robert-
Thank you for your quick responses!! Peter's solution seems to be the
ticket I was looking for. Thank you both for your time. I guess what makes
me feel a little exasperated is that I've read over similar sections a dozen
times today, looking down a completely wrong path.
Thanks
It doesn't work down to the method level, but most people add a static ILog per
class based on the class name. You would then set up your configuration to only
log you're class A.
Here is a very untested example of code and config that logs all warnings and
errors, but just debug info from clas
will filter out any log messages less than ERROR level from ClassB..
So assuming you have something like this already:
Combined with the above, you'll get Debug and higher from everything except
ClassB.
-Peter
--
Peter's Photography
www.PeterDr
This might seem like I'm a little log4net-challenged (and that may well be),
but after spending some time with the message archives and Google, I could
not figure this one out. So, I turn to you lot for a hand.
Is there a quick and simple way to filter messages based on the method,
class, or name