abipkgdiff: Make --verbose enable the library's logging

Up until now, --verbose would triggers logging inside the abipkgdiff
tool itself.  This patch allows it to see the logs of the library too.

	* tools/abipkgdiff.cc (set_generic_options): Make --verbose
	trigger the logs of the library.

Signed-off-by: Dodji Seketeli <dodji@redhat.com>
This commit is contained in:
Dodji Seketeli 2024-08-29 15:06:52 +02:00
parent ae57c22115
commit dc870a640b

View File

@ -1303,6 +1303,7 @@ set_generic_options(abigail::elf_based_reader& rdr, const options& opts)
opts.leverage_dwarf_factorization;
rdr.options().assume_odr_for_cplusplus =
opts.assume_odr_for_cplusplus;
rdr.options().do_log = opts.verbose;
}
/// Emit an error message on standard error about alternate debug info