mirror of
https://github.com/isar/libmdbx.git
synced 2025-10-09 02:02:20 +08:00
mdbx-test: don't filter lib's output by test's log-level.
Change-Id: Ieb45a532aee9b2a3d8ef11eb315b7eb01c1c0ef1
This commit is contained in:
11
test/log.h
11
test/log.h
@@ -49,12 +49,21 @@ void setup(loglevel priority, const std::string &prefix);
|
||||
void setup(const std::string &prefix);
|
||||
void setlevel(loglevel priority);
|
||||
|
||||
bool output_ap(const loglevel priority, const char *format, va_list ap);
|
||||
void output_nocheckloglevel_ap(const loglevel priority, const char *format,
|
||||
va_list ap);
|
||||
bool __printf_args(2, 3)
|
||||
output(const loglevel priority, const char *format, ...);
|
||||
bool feed_ap(const char *format, va_list ap);
|
||||
bool __printf_args(1, 2) feed(const char *format, ...);
|
||||
|
||||
void inline __printf_args(2, 3)
|
||||
output_nocheckloglevel(const loglevel priority, const char *format, ...) {
|
||||
va_list ap;
|
||||
va_start(ap, format);
|
||||
output_nocheckloglevel_ap(priority, format, ap);
|
||||
va_end(ap);
|
||||
}
|
||||
|
||||
void progress_canary(bool active);
|
||||
|
||||
class local_suffix {
|
||||
|
Reference in New Issue
Block a user