How to log to user's ApplicationData folder using Enterprise Library Logging?
Posted
by MüllerDK
on Stack Overflow
See other posts from Stack Overflow
or by MüllerDK
Published on 2010-04-23T12:41:48Z
Indexed on
2010/04/24
1:43 UTC
Read the original article
Hit count: 374
I'm using MS EnterpriseLibrary.Logging and that works perfectly but the log file(s) are placed in the program executable directory.
How do I get it to place my log files in individual user's applicationData folder?
The folder I'm talking about is the one you get by calling:
Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData)
© Stack Overflow or respective owner