[PATCH] D144983: [Dexter] Add a simple logging class to Dexter

Stephen Tozer via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 28 10:04:12 PST 2023


StephenTozer created this revision.
StephenTozer added reviewers: jmorse, Orlando, CarlosAlbertoEnciso.
Herald added a project: All.
StephenTozer requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D144983

Files:
  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
  cross-project-tests/debuginfo-tests/dexter/dex/utils/Warning.py
  cross-project-tests/debuginfo-tests/dexter/dex/utils/WorkingDirectory.py
  cross-project-tests/debuginfo-tests/dexter/dex/utils/__init__.py

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D144983.501198.patch
Type: text/x-patch
Size: 10510 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230228/2f50a506/attachment.bin>


More information about the llvm-commits mailing list