#include <db.h> int DB_ENV->log_stat_print(DB_ENV *env, u_int32_t flags);
The DB_ENV->log_stat_print()
method displays the logging subsystem
statistical information, as described for the DB_ENV->log_stat()
method. The information is printed to a specified output channel (see
the DB_ENV->set_msgfile()
method for more information), or passed to an application callback
function (see the DB_ENV->set_msgcall()
method for more information).
The DB_ENV->log_stat_print()
method may not be called before the
DB_ENV->open() method is
called.
The DB_ENV->log_stat_print()
method returns a non-zero error value on failure and 0 on success.