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
+3
View File
@@ -5,6 +5,8 @@
#include <atomic>
#include <string>
#include "json_logger.hpp"
struct index {
long long start = 0;
long long end = 0;
@@ -38,6 +40,7 @@ void checkdisk(std::vector<struct reader> *r);
extern int geometry_scale;
extern int quiet;
extern int quiet_progress;
extern json_logger logger;
extern double progress_interval;
extern std::atomic<double> last_progress;