Uređivanje

Dijeli putem


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
LogFileLocation

Fields

Name Value Description
TempDirectory 0

Use the path of the current system's temporary folder.

LocalUserApplicationDirectory 1

Use the path for a user's application data.

CommonApplicationDirectory 2

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

ExecutableDirectory 3

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

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.

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