如何将 UWP C# 应用程序中 MetroLog 的文件位置更改为我的 c# 解决方案文件夹
How to Change the file location of MetroLog in UWP C# application to my c# solution Folder
var root = ApplicationData.Current.LocalFolder;
logFolder = await root.CreateFolderAsync(LogFolderName, CreationCollisionOption.OpenIfExists);
MetroLog 文件的位置已在其源代码中固定line 34, if you want to change it, you should go to the source code and change its position. See File access permissions,以便将文件放在 UWP 应用程序中的可访问位置。
另请参阅此类似主题:
var root = ApplicationData.Current.LocalFolder;
logFolder = await root.CreateFolderAsync(LogFolderName, CreationCollisionOption.OpenIfExists);
MetroLog 文件的位置已在其源代码中固定line 34, if you want to change it, you should go to the source code and change its position. See File access permissions,以便将文件放在 UWP 应用程序中的可访问位置。
另请参阅此类似主题: