A first quick observation:I vote for a debug severity level. Then make that default to the template parameter for log:
template log(Severity severity = Severity.debug) That would make it nice for good old print debugging. log("This is a dbg message"); /Jonas