added func to return a log level associated with a level string