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).

貢獻者指南