r-lib / debugme

Easy and efficient debugging for R packages
https://r-lib.github.io/debugme/
Other
149 stars 10 forks source link

Message types: DEBUG, INFO, WARNING, ERROR #1

Closed gaborcsardi closed 7 years ago

gaborcsardi commented 8 years ago

Probably simply:

"!DEBUG debug message"
"!INFO  info message"
"!WARN  warning message
"!ERR   error message"

WARN or WARNING should both work, just like ERR and ERROR.

gaborcsardi commented 8 years ago

This is not so crucial, actually...

krlmlr commented 7 years ago

Verbosity levels would be handy e.g. for revdepcheck -- the messages that are printed when polling the queue should only be needed in verbose-verbose-verbose mode.

gaborcsardi commented 7 years ago

Yeah, I think there is an issue for this already, no?

gaborcsardi commented 7 years ago

Oh, yes, this is it. :)

gaborcsardi commented 7 years ago

I decided that we don't need message types, and just implemented verbosity levels, so I am closing this.