LogLevel parsing using dictionary because it's faster