Add String2LogLevel and LogLevel2String functions