test: add log_extra().

This commit is contained in:
Leo Yuriev
2017-05-17 18:49:19 +03:00
parent 677625ead1
commit ec114d06b7
3 changed files with 12 additions and 1 deletions

View File

@@ -67,7 +67,7 @@ static void mdbx_debug_logger(int type, const char *function, int line,
level = logging::failure;
}
if (logging::output(level, "mdbx: "))
if (logging::output(level, "mdbx: %s: ", function))
logging::feed(msg, args);
if (type & MDBX_DBG_ASSERT)
abort();