c#写日志 方法一:以日期为日志文件名,输出txt文件 public void WriteLog(string msg) { string filePath = AppDomain.CurrentD ...