I am creating a wpf application and in which i have to create a error log file for my application.
How can i create automatically error log file in specific folder in date wise in wpf?
In web we create a error page and then create the error file but i have no idea that how can we create it in WPF.
Take a look at the log4net, it allows easily setup log output in the file or another output stream like Event Log, Debug output…
If you want to do it yourself: