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