I can't seem to find a definitive answer/ example on how I can log to a file in C:\Documents and Settings\All Users\Application Data\CompanyName\ApplicationName\Logs\app.log
I don't want to "hardcode" the path in the app.config and would rather use Environment.SpecialFolder.CommonApplicationData
Can anyone help me with this?
Thanks.