Skip to content

Redirect log output from C++ to Python #619

Description

@neworderofjamie

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

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions