public static Level toLevel(string paramString, Level paramLevel) { if (string.ReferenceEquals(paramString, null)) { return(paramLevel); } string str = paramString.ToUpper(); return(str.Equals("TRACE") ? TRACE : Level.toLevel(paramString, paramLevel)); }
public static Level toLevel(int paramInt) { Level level; if (paramInt == 9900) { level = TRACE; } else { level = Level.toLevel(paramInt); } return(level); }