This is an archive of the discontinued LLVM Phabricator instance.

[Dexter] Add a simple logging class to Dexter
ClosedPublic

Authored by StephenTozer on Feb 28 2023, 10:04 AM.

Details

Summary

Adds a basic logging class to Dexter that uses the existing PrettyOutput class for printing and supports 3 levels of verbosity (note, warning, error). Intended to consolidate the logic for Dexter into one place, removing the need for conditional log statements and making it easier for us later if we wish to use a more complete logging class.

Diff Detail

Event Timeline

StephenTozer created this revision.Feb 28 2023, 10:04 AM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 28 2023, 10:04 AM
StephenTozer requested review of this revision.Feb 28 2023, 10:04 AM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 28 2023, 10:04 AM
Orlando accepted this revision.Mar 15 2023, 5:04 AM

Did you intend to add the new prints (e.g. VS: Using executable: '{exe_path}') in this patch? Either way LGTM.

This revision is now accepted and ready to land.Mar 15 2023, 5:04 AM
This revision was landed with ongoing or failed builds.Mar 15 2023, 12:26 PM
This revision was automatically updated to reflect the committed changes.
cross-project-tests/debuginfo-tests/dexter/dex/utils/Logging.py