pyjulia
pyjulia copied to clipboard
Redirect julia warning to python warning
Is it possible to redirect warnings from Julia code to warnings in Python? Currently, warnings from Julia are redirected as stdout in python. I was wondering if we could redirect those julia warning to python warning so that they could be dealt with accordingly. Thanks!
I think this should be straightforward. Somebody needs to write AbstractLogger https://docs.julialang.org/en/v1/stdlib/Logging/#AbstractLogger-interface interface using PyCall to translate Julia's logging events to Python's.