[slf4j-dev] Review of slf4j
Ceki Gülcü
listid at qos.ch
Wed May 11 10:21:05 CEST 2005
I intent to stop and think about this problem in more depth, in particular
after studying the Spring Framework. Would you recommend any other
frameworks worth looking at?
At 05:39 5/9/2005, you wrote:
>On Monday 09 May 2005 05:52, Ceki Gülcü wrote:
> > At 23:38 5/8/2005, Ceki Gülcü wrote:
> > >At 07:34 5/7/2005, Niclas Hedhman wrote:
> > >>Yes, either in constructor or via some framework specific lookup
> > >> mechanism.
> >
> > Or injection through a setter method?
>
>true.
>
>
> > >>This is a fairly important aspect of IoC frameworks.
> > >>Effectively, the idea that each API provides its own discovery/lookup
> > >>mechanism is the (really low) underlying reason for the JCL issue, but
> > >> also many similar (but less frequent) ones.
> >
> > I don't think the above statement is entirely true.
>
>Well, I acknowledge your disagreement ;o) and since it will not be very
>fruitful to analyze this in depth.
>
> > >>ULogger logger = LoggerFactory.getInstance( this ).getLogger( subdomain
> > >> );
> >
> > Supplying the factory with the object requesting the logger is an
> > interesting suggestion. As in,
> >
> > ULogger logger = LoggerFactory.getInstance(this);
> >
> > This opens the door for new possibilities.
>
>It helps a lot for the framework, and I think it could also lead to some
>crafty utilization (multi-dimensional hierarchies, for instance) of existing
>Logging systems as well.
>I am glad you like it. (FYI, I used to use that way for other structurally
>organized systems in my apps before.)
>
>
>Cheers
>Niclas
>_______________________________________________
>dev mailing list
>dev at slf4j.org
>http://slf4j.org/mailman/listinfo/dev
--
Ceki Gülcü
The complete log4j manual: http://www.qos.ch/log4j/
More information about the slf4j-dev
mailing list