There are many libs outside providing this, see built in packages as well as external libraries. I wanted to try out that technique, to be able to have the log level set optionally. Thus one would not need to patch existing implementations where loggers are created. 

It would be ok for me to make the log level required and drop the optional thing.