text: public override bool Check(int level){int currentLevel;try{var temp = WARN.ToString(CultureInfo.InvariantCulture);currentLevel = int.Parse(temp, CultureInfo.InvariantCulture);}catch (Exception){currentLevel = POILogger.DEBUG;}if (level >= currentLevel){return true;}return false;}