Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Usage of slf4j #47

Closed
GoogleCodeExporter opened this issue Mar 25, 2015 · 3 comments
Closed

Usage of slf4j #47

GoogleCodeExporter opened this issue Mar 25, 2015 · 3 comments

Comments

@GoogleCodeExporter
Copy link

Hi,
I think support of the Simple Logging Facade for Java (SLF4J)[1] would be 
really cool since it helps you to integrate sqlite4java in existing projects. 
If I saw it right there would only a few changes in Internal.java have to be 
made, correct? 

Is there interest in it or any reasons against it?

Thanks for opinions!




[1] http://slf4j.org/

Original issue reported on code.google.com by ErikEr...@gmail.com on 20 Jun 2012 at 7:45

@GoogleCodeExporter
Copy link
Author

Hi Erik, 

the only reason against it is that this will introduce a dependency on an 
additional library that is not quite required. 

Isn't there a bridge that would add a java.util.logging.Handler and route the 
logging messages to SLF4J? If there's none, one could write it easily and 
integrate sqlite4java with slf4j-enabled projects.

Let me know if that makes sense to you.
Igor

Original comment by ser...@gmail.com on 20 Jun 2012 at 8:26

  • Added labels: Type-Enhancement
  • Removed labels: Type-Defect

@GoogleCodeExporter
Copy link
Author

Hi Igor,
reducing dependency is a good point of course.

By time I'll take a closer look on it and see if what's the best way to 
integrate SLF4J with the least needed overhead. I'll inform you about any 
results.

Thanks so far for response.
Erik

Original comment by ErikEr...@gmail.com on 21 Jun 2012 at 8:26

  • Added labels: ****
  • Removed labels: ****

@GoogleCodeExporter
Copy link
Author

This article may help: 
http://stackoverflow.com/questions/6020545/java-util-logging-logger-to-logback-u
sing-slf4j

Closing this issue for now - feel free to post if there's anything to be done 
within sqlite4java project to help.

Original comment by ser...@gmail.com on 21 Jun 2012 at 10:06

  • Changed state: WontFix
  • Added labels: ****
  • Removed labels: ****

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant