sway
sway copied to clipboard
[Tracking] Consistent logging throughout `forc` with `tracing`
forc's current approach to logging is quite inconsistent.
The aim is to use tracing throughout and take advantage of its support for customisable "subscriber"s to control things like filtering, whether to emit to stdout/stderr/file, and so on. While much of forc's output already handles this correctly, much of it still writes directly to stdout or stderr - in particular, any formatted output and compiler output.
This is a tracking issue around making forc's logging implementation more consistent.
To-do
- [x] #884.
- [x] #1661.
- [ ] #2373.
- [ ] #2374.
- [x] #1702.
- [ ] #2375.
- [ ] #2362.
- [ ] #2364.
- [x] #2305.