scat icon indicating copy to clipboard operation
scat copied to clipboard

Logging

Open Roman2K opened this issue 9 years ago • 0 comments

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.

Roman2K avatar Mar 17 '17 05:03 Roman2K