Re: [slf4j-user] [POLL] Requiring JDK 1.5 for SLF4J

2009-03-26 Thread Eric Jain
On Thu, Mar 26, 2009 at 10:16, Ceki Gulcu c...@qos.ch wrote:
 Do you accept SLF4J dropping JDK 1.3 compatibility and require JDK 1.5
 instead?  If you respond, please do so on the u...@slf4j mailing list.

yes
___
user mailing list
user@slf4j.org
http://www.slf4j.org/mailman/listinfo/user

[slf4j-user] SLF4J implementation for Eclipse logging?

2009-03-24 Thread Eric Jain
I'd like to have code that uses the SLF4J API to use the logging
system built into Eclipse (when run in an Eclipse plug-in or an RCP
application). Delegating logging to Eclipse via a custom logger is
quite simple:

public void error(String message, Throwable t) {
ILog logger = Platform.getLog(Platform.getBundle(id));
logger.log(new Status(IStatus.ERROR, id, message, t));
}

What's the simplest way to create an SLF4J logger that delegates in
this manner (if such a thing doesn't exist already)? Copy-paste from
slf4j-simple?
___
user mailing list
user@slf4j.org
http://www.slf4j.org/mailman/listinfo/user