You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Rework the verbose mode towards GNATCOLL.Traces-based logs
Use the GNATCOLL.Traces package to create different categories for logs,
so that we can enable only the traces relevant for what is being
debugged (see the `*_Trace : Logging.GNATCOLL_Trace` constants declared
where appropriate).
In addition to GNATCOLL.Traces's traditional way of configuring which
logs are enabled (i.e. the .gnatdebug file in the current directory),
also add a `--log <name>` command line option (internal, just like
--verbose) to enable the GNATCOLL trace called GNATCOV.<name>.
Still keep --verbose/-v as a convenient way to activate all GNATCOV.*
traces so that we still have a way to print all information when we do
not know what we are looking for exactly. Also introduce --quiet/-q
switches (public, this time) to instruct gnatcov not to print logs it
normally emits by default, for instance gprbuild/gprinstall logs for
"gnatcov setup".
Remove "debug switches" (-dX for various X letters) as they are now
obsolete: each one now has a GNATCOLL trace that controls the
corresponding on/off setting.
0 commit comments