Draft: lib/log: consolidate log groups into a single place
Moves all log-group-related definitions into a generative macro so that all changes to them can be done in a single place.
Note: This is just a little proposal, I've come to like these generative macros in my programs. I think they make this kind of enum a bit nicer to work with and less error-prone.