Function lbcrypto::SetOpenFHEOutStream
Defined in File diagnostic_output.h
Function Documentation
-
std::ostream &lbcrypto::SetOpenFHEOutStream(std::ostream &os)
Redirects the diagnostic output channel (OPENFHE_DIAGNOSTIC_OUT, std::cout 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