BloombergLP::bsls::OutputRedirector::isRedirecting

Return true if stdout or stderr has been successfully redirected, and false otherwise.

Synopsis

Declared in <bsls_outputredirector.h>

bool
isRedirecting() const;

Return Value

true if the stream is redirected; false otherwise