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

Redirect log output from C++ to Python #619

Open
neworderofjamie opened this issue Apr 9, 2024 · 0 comments
Open

Redirect log output from C++ to Python #619

neworderofjamie opened this issue Apr 9, 2024 · 0 comments
Milestone

Comments

@neworderofjamie
Copy link
Contributor

Currently, messages written to GeNN log channels (e.g. our nice new transpiler error messages) go to stdout which is often hidden in Python e.g. in notebooks. On Linux we could just redirect these using e.g. https://pypi.org/project/wurlitzer/ but that doesn't work on Windows. Wrapping plog::IAppender with pybind11 would probably be the most elegant solution

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