摘要:
这个日志文件存放在程序的bin文件夹下得Debug中static private string logpathlog = AppDomain.CurrentDomain.BaseDirectory + "log.txt"; static public void writelog(string classname) { string path = logpathlog; if (!File.Exists(path)) { // Create a file to write ... 阅读全文