LogFileLocation Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Determines which predefined path the FileLogTraceListener class uses to write its log files.
public enum class LogFileLocation
public enum LogFileLocation
type LogFileLocation =
Public Enum LogFileLocation
- Inheritance
Fields
CommonApplicationDirectory | 2 | Use the path for the application data that is shared among all users. |
Custom | 4 | If the string specified by CustomLocation is not empty, then use it as the path. Otherwise, use the path for a user's application data. |
ExecutableDirectory | 3 | Use the path for the executable file that started the application. |
LocalUserApplicationDirectory | 1 | Use the path for a user's application data. |
TempDirectory | 0 | Use the path of the current system's temporary folder. |
Remarks
Assign one of the LogFileLocation enumeration values to the Location property to specify which predefined path the FileLogTraceListener class uses to write its log files.