mirror of
https://github.com/isar/libmdbx.git
synced 2024-12-30 02:34:13 +08:00
mdbx-tests: minor refine log-levels.
This commit is contained in:
parent
a2ec7f2be1
commit
9ccd551ebc
@ -26,7 +26,7 @@ void actor_params::set_defaults(void) {
|
||||
pathname_log = "";
|
||||
loglevel =
|
||||
#ifdef NDEBUG
|
||||
logging::notice;
|
||||
logging::info;
|
||||
#else
|
||||
logging::trace;
|
||||
#endif
|
||||
|
@ -123,7 +123,7 @@ void testcase::db_prepare() {
|
||||
if (config.params.loglevel <= logging::verbose)
|
||||
mdbx_dbg_opts |= MDBX_DBG_PRINT;
|
||||
int rc = mdbx_setup_debug(mdbx_dbg_opts, mdbx_logger);
|
||||
log_info("set mdbx debug-opts: 0x%02x", rc);
|
||||
log_trace("set mdbx debug-opts: 0x%02x", rc);
|
||||
|
||||
MDBX_env *env = nullptr;
|
||||
rc = mdbx_env_create(&env);
|
||||
|
Loading…
x
Reference in New Issue
Block a user