LogFileLocation Enumeration
.NET Framework (current version)
Determines which predefined path the FileLogTraceListener class uses to write its log files.
Assembly: Microsoft.VisualBasic (in Microsoft.VisualBasic.dll)
| Member name | Description | |
|---|---|---|
| CommonApplicationDirectory | Use the path for the application data that is shared among all users. | |
| Custom | 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 | Use the path for the executable file that started the application. | |
| LocalUserApplicationDirectory | Use the path for a user's application data. | |
| TempDirectory | Use the path of the current system's temporary folder. |
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.
.NET Framework
Available since 2.0
Available since 2.0
Show: