mirror of
https://github.com/isar/libmdbx.git
synced 2025-01-31 17:08:22 +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) {
|
void actor_params::set_defaults(const std::string &tmpdir) {
|
||||||
pathname_log = "";
|
pathname_log = "";
|
||||||
loglevel =
|
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;
|
logging::verbose;
|
||||||
#else
|
#else
|
||||||
logging::trace;
|
logging::debug;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
pathname_db = tmpdir + "mdbx-test.db";
|
pathname_db = tmpdir + "mdbx-test.db";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user