http://qs1969.pair.com?node_id=1186644


in reply to Re^3: Choosing a log level
in thread Choosing a log level

I suspect we agree on this, and the difference in in the perspective:

Putting Garbage in the INFO, vs the INFO being full of Garbage. INFO would be useful if you only put useful info in.

The "cutesy" things which are nominally reproducible given the program's inputs, IMO, should be strictly at DEBUG level and are only useful when you haven't done enough work on the code yet to predict the behaviour with confidence.

I usually have those as simple console printing, and then outright delete them when I'm done the first draft of the code and have settled on data structures and variable names. A small few may stick around to serve as progress bars, but those strings end in \r instead of \n so they aren't spammy.