LogFileLocation Enumeration

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Determines which predefined path the FileLogTraceListener class uses to write its log files.

Namespace:   Microsoft.VisualBasic.Logging
Assembly:  Microsoft.VisualBasic (in Microsoft.VisualBasic.dll)

public enum LogFileLocation

Member nameDescription
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
Return to top
Show: