Added logging with tracing, did not use log because log does not have span support.
Next step is to switch to indicatif and rayon (and option to not use threads or set threads) to display multiple progress bar while doing multiple stuff.
Logging is unlike the old logging which uses indentation, using indentation is not a good idea when we want to go parallel later (stuff gets mixed up), we could keep a buffer but that makes stuff complicated.
Added logging with tracing, did not use log because log does not have span support.
Next step is to switch to indicatif and rayon (and option to not use threads or set threads) to display multiple progress bar while doing multiple stuff.
Logging is unlike the old logging which uses indentation, using indentation is not a good idea when we want to go parallel later (stuff gets mixed up), we could keep a buffer but that makes stuff complicated.
Lately got lazy so this patch came in slow.