rust-dc / fish-manpage-completions

Straight port of fish-shell's Python manpage completion script to Rust
19 stars 8 forks source link

feat(main): add logging #108

Closed pickfire closed 3 years ago

pickfire commented 3 years ago

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.

Screenshot_20201221_000643

Lately got lazy so this patch came in slow.

pickfire commented 3 years ago

@scooter-dangle T_T I had another cleanup commit

scooter-dangle commented 3 years ago

@scooter-dangle T_T I had another cleanup commit

Womp womp. My bad! Tiny cleanup PR?