On Wednesday, 12 June 2013 at 04:05:22 UTC, Jeremy DeHaan wrote:
Hey guys,

I have something I am curious about, but haven't had much luck with when doing research and experimenting.

Basically, I am working with a library that uses ostreams internally and I want to somehow redirect that to what ever stderr is pointing to.

The reason I am trying to do this is because I was considering the user might want to have some sort of log they want error messages written to, and if they redirect stderr to a file I'd like the underlying ostreams to be directed to the same location.

Any ideas or suggestions would be welcome!

Thanks in advance

Do you have access to the source code of the library? Or are you
just linking to it?

Reply via email to