add logging struct with -u json options flag, log tiling progress [#13]

This commit is contained in:
Brandon Liu
2022-07-05 15:32:11 +08:00
parent 4adb22b74e
commit f442e403c5
8 changed files with 41 additions and 1 deletions
+8
View File
@@ -0,0 +1,8 @@
#include <stdarg.h>
#include <fstream>
#include "json_logger.hpp"
void json_logger::progress_tile(double progress) {
fprintf(stderr,"{\"progress\":%3.1f}\n",progress);
}