commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <cost...@covalent.net>
Subject Re: [logging] Need interface...
Date Wed, 03 Apr 2002 20:18:17 GMT
On Wed, 3 Apr 2002, Geir Magnusson Jr. wrote:

> On 4/3/02 2:45 PM, "costinm@covalent.net" <costinm@covalent.net> wrote:
> 
> > On Wed, 3 Apr 2002, Geir Magnusson Jr. wrote:
> > 
> >> Yes, that's true.  I didn't realize that it o.a.c.l was actually a logging
> >> framework....  I thought it was an interface we could write to in order to
> >> isolate ourselves from changing logger preferences...
> > 
> > It's a logging API, with interfaces you can use to isolated from the
> > logger implementation.
> > 
> 
> However, it seems that the Log.getLogger(foo) pattern is what people have to
> use, or are expected to use?

There is no such requirement or expectation AFAIK.

Log.getLogger() is extremely easy to use, have the least overhead - that's 
why most people use that. Nothing prevent you from creating the logger and 
setting it in a manager application.


Costin



--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message