mirror of
https://github.com/isar/libmdbx.git
synced 2025-01-30 22:47:16 +08:00
mdbx-testing: изменение уровня логирования по-умолчанию.
This commit is contained in:
parent
2f66eb9fec
commit
0e831f42cc
@ -115,10 +115,14 @@ MDBX_NORETURN void usage(void) {
|
||||
void actor_params::set_defaults(const std::string &tmpdir) {
|
||||
pathname_log = "";
|
||||
loglevel =
|
||||
#if defined(NDEBUG) || defined(_WIN32) || defined(_WIN64)
|
||||
#if MDBX_DEBUG < 1
|
||||
logging::verbose;
|
||||
#elif MDBX_DEBUG > 1
|
||||
logging::trace;
|
||||
#elif defined(_WIN32) || defined(_WIN64) || defined(__APPLE__)
|
||||
logging::verbose;
|
||||
#else
|
||||
logging::trace;
|
||||
logging::debug;
|
||||
#endif
|
||||
|
||||
pathname_db = tmpdir + "mdbx-test.db";
|
||||
|
Loading…
x
Reference in New Issue
Block a user