forked from powerfun/udpservice
转成wpf程序,加界面显示
This commit is contained in:
1 parent
6921145154
commit
a9e8137aaa
11 files changed
+365
-174
No files matched your search
@@ -11,7 +11,7 @@ namespace OnlineUserPool.Unility
|
||||
public static void Init()
|
||||
{
|
||||
string path = AppDomain.CurrentDomain.BaseDirectory+ "\\logs\\log.txt";
|
||||
Console.WriteLine(path);
|
||||
//Console.WriteLine(path);
|
||||
Log.Logger = new LoggerConfiguration().MinimumLevel.Debug().WriteTo.Console().WriteTo.File(path, rollingInterval: RollingInterval.Day).CreateLogger();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user