0

I want Nlog to save log file in user directory, so I need to have that line in Nlog's config file:

<target name="logfile" xsi:type="File" fileName="log.txt" />  

I'm looking for something like that...

Environment.GetFolderPath(Environment.SpecialFolder.UserProfile);

...but in XAML.

Cœur
  • 37,241
  • 25
  • 195
  • 267

0 Answers0