scat
scat copied to clipboard
Logging
Currently, there's next to no logging:
- errors are the main way to report information back to the user when finally written to stderr in main
- some messages may be printed to stderr when there's no caller to return an error to (ex: cascade in multireader, error correction in parity, write errors in ansirefresh)
Add a proper logger for:
- those errors
- tracing of normal activity
- begin/end of chunk processing
- size before, after
- elapsed time
- passing from one proc to the next
- within procs
- reads, writes, downloads, uploads
- error detection and correction
- etc.
- begin/end of chunk processing