this seems to work:

        Logger.getLogger(CurrencyConverter.class).setLevel(Level.WARN);
        testConvertString();
        Logger.getLogger(CurrencyConverter.class).setLevel(Level.DEBUG);
        testConvertString();

ok i will add the currencyConverterTest to the jirra

next ;)


tibi wrote:
> working on testing the currencyConverter
>
>
> anyone an idea how to test this kind of stuff:
>
> if (log.isDebugEnabled()) {
>   log.debug("value (" + value + ") instance of String");
> }
>
> how can i toggel the isDebugEnabled??
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
> For additional commands, e-mail: users-h...@appfuse.dev.java.net
>
>
>   

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
For additional commands, e-mail: users-h...@appfuse.dev.java.net

Reply via email to