LogFileLocation LogFileLocation LogFileLocation LogFileLocation Enum

Definition

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
LogFileLocationLogFileLocationLogFileLocationLogFileLocation

Fields

CommonApplicationDirectory CommonApplicationDirectory CommonApplicationDirectory CommonApplicationDirectory 2

Use the path for the application data that is shared among all users.

Custom Custom Custom 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 ExecutableDirectory ExecutableDirectory ExecutableDirectory 3

Use the path for the executable file that started the application.

LocalUserApplicationDirectory LocalUserApplicationDirectory LocalUserApplicationDirectory LocalUserApplicationDirectory 1

Use the path for a user's application data.

TempDirectory TempDirectory TempDirectory 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.

Applies to

See also