Remove repetitive code by abstracting it
Remove repetitive code by abstracting it

With this patch, the log level aggregation is abstracted away by using
zero sized types and a macro to implement the whole thing.

This does not alter functionality, but makes the code more readable.

Signed-off-by: Matthias Beyer <1d6e1cf70ec6f9ab28d3ea4b27a49a77654d370e@beyermatthias.de>

matthiasbeyer/imag,matthiasbeyer/imag