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

Reply via email to