Source release v2.1.1-0-738 + third_party libs
Change-Id: I76e298f8092951d4214c776d6bbcad6b763eb5b2
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
|
||||
#include <stdarg.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include "log.h"
|
||||
|
||||
@@ -19,6 +20,10 @@ void InitLogging(int argc, const char* const* argv) {
|
||||
g_cutoff = LOG_VERBOSE;
|
||||
}
|
||||
}
|
||||
const char *verbose_env = getenv("VERBOSE_LOG");
|
||||
if (verbose_env && ! strncmp(verbose_env, "yes", 3) ) {
|
||||
g_cutoff = LOG_VERBOSE;
|
||||
}
|
||||
}
|
||||
|
||||
void Log(const char* file, int line, LogPriority level, const char* fmt, ...) {
|
||||
|
||||
Reference in New Issue
Block a user