Function lbcrypto::SetOpenFHEErrStream
Defined in File diagnostic_output.h
Function Documentation
-
std::ostream &lbcrypto::SetOpenFHEErrStream(std::ostream &os)
Redirects the diagnostic error channel (OPENFHE_DIAGNOSTIC_ERR, std::cerr by default) to another stream. The stream must outlive any later OpenFHE diagnostic; call once during initialization.
- Parameters
os – stream to install
- Returns
the stream that was previously installed, so the caller can restore it