not via a member variable
of the class.
Heri
> -Original Message-
> From: David Tonhofer, m-plify S.A. [mailto:[EMAIL PROTECTED]
> Sent: Thursday, November 03, 2005 1:56 PM
> To: Log4J Users List
> Subject: Re: Basic Assistance
>
>
> Make it final, too :->
Make it final, too :->
--On Thursday, November 03, 2005 12:33 AM +0100 Laurent <[EMAIL PROTECTED]>
wrote:
Make it static so you only need one per class:
public class MyClass {
static Logger logger = Logger.getLogger(MyClass.class);
---
James Stauffer wrote:
> Take a look at http://logging.apache.org/log4j/docs/manual.html
>
> Bascially each class should have something like the following (and it
> isn't expensive)
> Logger myLogger = Logger.getLogger("com.project.class");
Make it static so you only need one per class:
import or
Take a look at http://logging.apache.org/log4j/docs/manual.html
Bascially each class should have something like the following (and it
isn't expensive)
Logger myLogger = Logger.getLogger("com.project.class");
On 11/1/05, Robert Palmer <[EMAIL PROTECTED]> wrote:
> I am trying to understand the best