示例#1
0
        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));
        }
示例#2
0
        public static Level toLevel(int paramInt)
        {
            Level level;

            if (paramInt == 9900)
            {
                level = TRACE;
            }
            else
            {
                level = Level.toLevel(paramInt);
            }
            return(level);
        }