You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-user@logging.apache.org by Pedro Costa <pe...@link.pt> on 2006/03/17 11:15:32 UTC

Where prints the logs?

When we develop a application, is it right to mix the logger.debug,
logger.info, etc, with the code? Or we can put the logs in another class,
inside static methods?

Thanks,
Pedro


---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org


Re: Where prints the logs?

Posted by James Stauffer <st...@gmail.com>.
It is correct to mix the calls to logger.debug, logger.info, etc with
the other code.  I find that it fits with the other code quite nicely.

On 3/17/06, Pedro Costa <pe...@link.pt> wrote:
>
> When we develop a application, is it right to mix the logger.debug,
> logger.info, etc, with the code? Or we can put the logs in another class,
> inside static methods?
>
> Thanks,
> Pedro
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
> For additional commands, e-mail: log4j-user-help@logging.apache.org
>
>


--
James Stauffer
Are you good? Take the test at http://www.livingwaters.com/good/

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org