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

how to write Python code that is compatible with both Jython and CPython? #3

Open
jason-s opened this issue Feb 8, 2017 · 0 comments

Comments

@jason-s
Copy link

jason-s commented Feb 8, 2017

I have Python code that I use in both Jython and CPython, and I want to add logging statements that work normally in CPython, but use SLF4J when they run on Jython.

Is there any way to do this with the logbridge library? I don't want to rewrite dozens of Python files, I was hoping there was just some backend hook I could install so that Python use of the standard logging library would be sufficient.

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

No branches or pull requests

1 participant