openPMD/openPMD-api

Handle stdout & stderr messages more pythonic

开放

#192 创建于 2018年5月22日

 (1 条评论) (1 个反应) (0 位负责人)C++ (57 个派生)auto 404
discussionfrontend: Python3good first issuehelp wanted

仓库指标

星标
 (160 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

Currently (see #191), all output generated by the C++ API is piped to std::cout/std::cerr.

For ideal Python support - which includes pythonic output and logging - one would need to capture the output from C++ and redirect it to message handling facilities in python. This could be Python's stdout/stderr and logging on a very basic level or some advanced implementation that can differentiate and mute multiple levels of output (as present for example in PIConGPU).

贡献者指南