[Dexter] Add a simple logging class to Dexter
authorStephen Tozer <Stephen.Tozer@Sony.com>
Tue, 28 Feb 2023 17:49:59 +0000 (17:49 +0000)
committerStephen Tozer <Stephen.Tozer@Sony.com>
Wed, 15 Mar 2023 19:25:37 +0000 (19:25 +0000)
commit73a01952b52c3210ca5d229ea18be8fedf1a8b6c
treeeb551cf66ba1f65808a01aff7d8dc77d22f98802
parentbc14c40dc14b8ab8f6a4ac432f70e17973d92937
[Dexter] Add a simple logging class to Dexter

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 logging 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.

Reviewed By: Orlando

Differential Revision: https://reviews.llvm.org/D144983
cross-project-tests/debuginfo-tests/dexter/dex/debugger/Debuggers.py
cross-project-tests/debuginfo-tests/dexter/dex/debugger/visualstudio/VisualStudio.py
cross-project-tests/debuginfo-tests/dexter/dex/tools/Main.py
cross-project-tests/debuginfo-tests/dexter/dex/tools/TestToolBase.py
cross-project-tests/debuginfo-tests/dexter/dex/tools/ToolBase.py
cross-project-tests/debuginfo-tests/dexter/dex/utils/Logging.py [new file with mode: 0644]
cross-project-tests/debuginfo-tests/dexter/dex/utils/Warning.py [deleted file]
cross-project-tests/debuginfo-tests/dexter/dex/utils/WorkingDirectory.py
cross-project-tests/debuginfo-tests/dexter/dex/utils/__init__.py