made log level a string