add a log level flag

This commit is contained in:
tildearrow 2021-06-09 12:28:46 -05:00
parent 2be720540f
commit 86131bf05e
4 changed files with 21 additions and 1 deletions

View file

@ -1,5 +1,7 @@
#include "ta-log.h"
int logLevel=LOGLEVEL_INFO;
int logD(const char* format, ...) {
va_list va;
int ret;