jonkwheeler / tsconfig-replace-paths

Replace absolute paths to relative paths for package compilation
MIT License
72 stars 11 forks source link

Semi verbose logging #44

Open AdriVanHoudt opened 1 year ago

AdriVanHoudt commented 1 year ago

Would it be an option to provide 2 levels of logging? The logging of the config and the paths etc is very useful in CI but the logging of the replace for each replace gets very noisy when handling a lot of files (Replaced 7930 paths in 793 files 😅 )

jonkwheeler commented 1 year ago

The logging definitely broke somewhere along the way. Right now it tells me it's changed 7 paths in 7 files when in reality it's changed 100's of files. I agree, it could use a bit of an overhaul.

karladler commented 1 year ago

log-levels from 0 (no logging) to whatever, maybe 3 (log everything), would be great. For me the preferred way would be to have no logging at all, once everything works I don't need the logging anymore ;)