tsconfig-replace-paths icon indicating copy to clipboard operation
tsconfig-replace-paths copied to clipboard

Semi verbose logging

Open AdriVanHoudt opened this issue 1 year ago • 2 comments

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 😅 )

AdriVanHoudt avatar Mar 30 '23 08:03 AdriVanHoudt

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.

jonkwheeler avatar Apr 03 '23 14:04 jonkwheeler

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 ;)

karladler avatar Nov 29 '23 11:11 karladler