#include <db_cxx.h>void DbEnv::set_error_stream(class ostream*);
Set the C++ ostream used for displaying Berkeley DB error messages.
The DbEnv::set_errfile method specifies a C library FILE * for the same purpose. Alternatively, you can use the DbEnv::set_errcall method to capture errors in a way that does not use output streams. It is unwise to mix these approaches.