Homec4science

redirecting iostreams to python streams for solve functions

Authored by frerot on Jul 10 2020, 23:27.

Description

redirecting iostreams to python streams for solve functions

To make logging more uniform across Python/C++ API boundaries, long running
functions of solvers have std::cout and std::cerr redirected to sys.stdout and
sys.stderr. In addition, the Logger now has bindings in Python and uses
std::cerr instead of fprintf to stderr to allow stream redirection.

Details

Committed
frerotJul 10 2020, 23:27
Pushed
frerotJul 10 2020, 23:49
Parents
rTAMAAS9046874a9be5: [JOSS] added citation to Pybind11
Branches
Unknown
Tags
Unknown

Event Timeline

Restricted Application completed building Restricted Buildable.Jul 10 2020, 23:59