Assert on log level translation, closes #6.