r-lib/debugme

debug levels?

dpastoor opened this issue · 4 comments

Without straying into making debugme into a fullfledged logger, do you have thoughts on allowing at least one additional level like MESSAGE?

Could you use !DEBUG, !!DEBUG, etc. for this?

Yeah! that would work. Is that something that could control the debug level (eg only !!, or even better !!+) or would that need to be parsed from the stdout stream?

They control the debug level. !! means !!+ effectively.

Ah I'm seeing this now that I'm reading the docs more carefully. This is perfect thanks!