摘要:
string typeName = this.GetType().ToString();//空间名.类名string typeName = this.GetType().Name;//类名new System.Diagnostics.StackTrace().GetFrame(0).GetMethod().Name 方法名--------------------------------------------------------- 01 //测试日志 02 protected void writeerror(object sender, EventArgs e) 03 { 04 st... 阅读全文