adding LOG output to migration tool (#1180)

Adding some log-feedback to the serialization migration tool.
master
Sebastian Klose 2018-06-04 09:35:37 +02:00 committed by Wally B. Feed
parent 73d18e5fc5
commit 000b967c79
1 changed files with 4 additions and 0 deletions

View File

@ -42,6 +42,10 @@ int main(int argc, char** argv) {
}
cartographer::io::ProtoStreamReader input(FLAGS_original_pbstream_file);
cartographer::io::ProtoStreamWriter output(FLAGS_output_pbstream_file);
LOG(INFO) << "Migrating old serialization format in \""
<< FLAGS_original_pbstream_file
<< "\" to new serialization format in \""
<< FLAGS_output_pbstream_file << "\"";
cartographer::io::MigrateStreamFormatToVersion1(&input, &output);
return EXIT_SUCCESS;