about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
diff options
context:
space:
mode:
authorJosh McKinney <joshka@users.noreply.github.com>2024-07-27 21:43:35 -0700
committerJosh McKinney <joshka@users.noreply.github.com>2024-07-27 21:43:35 -0700
commitc0df26be420a5f0702214c393d85577843227437 (patch)
treea2da462d6300f1787626125d285c24049f22b722 /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
parentb2719c4914ad077869aad1d0f397f45cc21c71c6 (diff)
downloadrust-c0df26be420a5f0702214c393d85577843227437.tar.gz
rust-c0df26be420a5f0702214c393d85577843227437.zip
feat: use vscode log format for client logs
This change updates the log format to use the vscode log format instead
of the custom log format, by replacing the `OutputChannel` with a
`LogOutputChannel` and using the `debug`, `info`, `warn`, and `error`
methods on it. This has the following benefits:

- Each log level now has its own color and the timestamp is in a more
  standard format
- Inspect output (e.g. the log of the config object) is now colored
- Error stack traces are now shown in the output
- The log level is now controlled on the output tab by clicking the gear
  icon and selecting "Debug" or by passing the `--log` parameter to
  vscode. The `trace.extension` setting has been marked as deprecated.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions