[slf4j-dev] NOPLogger methods are final?

Eric Crahen eric.crahen.lists at gmail.com
Tue Feb 13 00:48:49 CET 2007


Along those same lines a protected default constructor would help too

On 2/12/07, Eric Crahen <eric.crahen.lists at gmail.com> wrote:
>
> Do the NOPLogger methods need to be final? I was hoping to subclass this
> for use in unit testing. I basically have to write my own NOPLogger in order
> to be able to override error() and other things at different to assert the
> correct logging happens. Can these methods be made non-final? People use
> these through an inteface anyways, is there a benefit I'm missing?
>
> --
>
> - Eric




-- 

- Eric
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://qos.ch/pipermail/slf4j-dev/attachments/20070212/653613de/attachment.htm>


More information about the slf4j-dev mailing list