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.