Wondering if anybody has experience using MetroLog on a Windows 10 UWP app. I am not too familiar with it and just started using it. For the purpose of not duplicating code and creating a long post, I followed this walk through step by step.
The question I have is a simple one though. With this guide and the default implementation of MetroLog, the log files are stored in a folder named "MetroLog" within my app local folder. Furthermore, the file name is just named "log - 20170206.log"
I want to customize the path and the filename. First, I want the path to just be my application root local folder path and not in another subfolder named MetroLog. I also want the log file to be the name of my application instead of just "log".
For example, I want my folder and file name to be like the following:
private const string logFileName = @"MyAppName.log";
var filePath = Path.Combine(ApplicationData.Current.LocalFolder.Path, logFileName);
I know the logger uses a StreamingFileTarget but I did not see that I could specify the path and file name.
Thoughts?