下面是我的配置文件和代码,总觉得还有可复用的写法,请大家指点!
StackFrame sf = new StackFrame(1);
msg = string.Format("{0}.{1}:{2}", sf.GetMethod().ReflectedType.FullName, sf.GetMethod().Name, msg); StackF下面是我的配置文件和代码,总觉得还有可复用的写法,请大家指点!
StackFrame sf = new StackFrame(1);
msg = string.Format("{0}.{1}:{2}", sf.GetMethod().ReflectedType.FullName, sf.GetMethod().Name, msg); StackF