cyan icon indicating copy to clipboard operation
cyan copied to clipboard

feature request: not print the "log level" margin by default

Open hishamhm opened this issue 9 months ago • 2 comments

I know this is a pretty aesthetic feature request, but:

would it be possible to not spend the first 11 columns on the "log level" marging (e.g. Error and ...). I understand those kind of margins work well for things like cargo and cmake when showing progress listings (Compiling and CC), but for error messages and --help screens, which often contain long lines, this margin takes significant screen real estate (especially in lower resolutions and/or larger terminal font sizes).

Perhaps these could be used only in the higher verbosity modes?

Thanks for considering!

hishamhm avatar Mar 06 '25 04:03 hishamhm

When running a full build of Cyan itself, with the "Docgen" and "Lint Info" entries, I can see why all lines include the log prefix.

But I feel like error messages and --help screens (which are the things I was asking for not having prefixes) fall under a different category from "status progress" messages a la Cargo. It feels a bit mixed when some lines show [ Docgen] <message> and others say [ Info] Type checking file.tl instead of, say, [ Checking] file.tl.

This sounded a bit rambling, but I just wanted to share some impressions!

hishamhm avatar Mar 08 '25 20:03 hishamhm

I think this is definitely a fair request. I use a smaller font size so it wasn't an issue for me.

euclidianAce avatar Mar 10 '25 19:03 euclidianAce