Skip to content

Commit ce24449

Browse files
committed
set log file to json
1 parent ebbe7e7 commit ce24449

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

voxec_main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ int main(int argc, char** argv) {
6666
if (vmap.count("log-file")) {
6767
const std::string log_filename = vmap["log-file"].as<std::string>();
6868
log_file = std::make_unique<std::ofstream>(log_filename.c_str());
69-
json_logger::register_output(json_logger::FMT_TEXT, &*log_file);
69+
json_logger::register_output(json_logger::FMT_JSON, &*log_file);
7070
}
7171

7272
const std::string input_filename = vmap["input-file"].as<std::string>();

0 commit comments

Comments
 (0)