Hi!
Does it matters if we declared the logger as static or a instance variable?
It seem to me that the static logger has more advantage as it can be
used in static scope/method.
What is the best practice of declaring a logger?
---
At 09:42 PM 5/20/2007, you wrote:
>Hi!
>
>Does it matters if we declared the logger as static or a instance variable?
>
>It seem to me that the static logger has more advantage as it can be
>used in static scope/method.
>
>What is the best practice of declaring a logger?
>
A nice synopsis of this
In log4net we have a ForwardingAppender that takes a message and fowards it to
one or more other appenders. To solve the problem of not having to apply
filters twice I'd put a ForwardingAppender infront of the two other appenders.
If the message passed through the filters on the FowardingAppend