Hello,
You are right: if you want to start a debate on the reasons for JDK 1.4
compatibility
of SLF4J, you might have a better result in starting it around there[1]. :)
About the relationship between SLF4J and logback, we strongly believe that, by
using SLF4J, users will have the most freedom. Using SLF4J is a prudent choice for
developers, letting them choose their logging framework of choice at deployment time.
On the other hand, we are building logback and it really is a great framework. It has
a broader scope than other frameworks, a different architecture and is built on work
done by Ceki (log4j's founder and author of most of the code) for log4j 1.2 and 1.3.
Logback also contains quite a few new possibilities.
For more informations, you might want to take a look at the presentation we are
working on. Ceki will be soon presenting in Geneva the top 10 reasons for migrating
to logback. There is a powerpoint file[2] online that is pretty interesting.
Sébastien
[1]http://www.slf4j.org/mailing-lists.html
[2]http://logback.qos.ch/10reasons.ppt
[EMAIL PROTECTED] a écrit :
Convinced, but... ;)
This is probably not the right list for this discussion (btw: what is
the relationship between slf4j and logback?), but can't there be an
slf4j version for Java 5 and one for 1.4?
----- Original Message -----
From: "Sebastien Pennec" <[EMAIL PROTECTED]>
To: "logback users list" <[email protected]>
Sent: Wednesday, November 08, 2006 10:57
Subject: Re: [logback-user] varargs
Hello,
Well, I guess that Ceki, the main author of SLF4J would answer this
with more inside knowledge of SLF4J...
But my guess would be that SLF4J will stay JKD 1.4 compatible for some
more time... maybe a year, and probably more...
Quite a lot of active development still use JDK 1.4, and it's not the
point of SLF4J to push toward JDK 1.5, but rather to be a simple and
widely compatible facade that lets user choose freely their logging
framework.
As long as many developments use JKD 1.4 and some major logging
framework also use this version of the JDK, I guess SLF4J will not
break JDK 1.4 compatibility.
Convinced? :)
Sébastien
[EMAIL PROTECTED] a écrit :
Hello Sébastien,
Good answer... ;)
Any chance of seeing an slf4j interface with varargs in the near future?
----- Original Message -----
From: "Sebastien Pennec" <[EMAIL PROTECTED]>
To: "logback users list" <[email protected]>
Sent: Wednesday, November 08, 2006 10:02
Subject: Re: [logback-user] varargs
Hello Zohar,
Thanks for using logback! :)
Logback classic natively implements the SLF4J API[1] so that one can
readily switch
back and forth between logback and other logging systems.
Actually, ch.qos.logback.classic.Logger directly extends
org.slf4j.Logger.
Since SLF4J is JDK 1.4 compatible, it cannot use any JDK 1.5
goodies, varargs
included. Therefore, the part of logback that directly implements
SLF4J is bound to
the same constraint.
Hope this answers your question,
Sébastien
Links:
[1]: http://www.slf4j.org
[EMAIL PROTECTED] wrote :
Hello,
I'm new to LogBack and I was wondering why log methods do not have
a varargs version, so that one does not need to construct an array
of parameter objects.
Thanks,
Zohar.
_______________________________________________
Logback-user mailing list
[email protected]
http://qos.ch/mailman/listinfo/logback-user
--
Sébastien Pennec
[EMAIL PROTECTED]
Logback: The reliable, generic, fast and flexible logging framework
for Java.
http://logback.qos.ch/
_______________________________________________
Logback-user mailing list
[email protected]
http://qos.ch/mailman/listinfo/logback-user
_______________________________________________
Logback-user mailing list
[email protected]
http://qos.ch/mailman/listinfo/logback-user
--
Sébastien Pennec
[EMAIL PROTECTED]
Logback: The reliable, generic, fast and flexible logging framework
for Java.
http://logback.qos.ch/
_______________________________________________
Logback-user mailing list
[email protected]
http://qos.ch/mailman/listinfo/logback-user
_______________________________________________
Logback-user mailing list
[email protected]
http://qos.ch/mailman/listinfo/logback-user
--
Sébastien Pennec
[EMAIL PROTECTED]
Logback: The reliable, generic, fast and flexible logging framework for Java.
http://logback.qos.ch/
_______________________________________________
Logback-user mailing list
[email protected]
http://qos.ch/mailman/listinfo/logback-user