LogFileCreationScheduleOption 枚举

定义

确定要包括在 FileLogTraceListener 类日志文件名称中的日期。Determines which date to include in the names of the FileLogTraceListener class log files.

public enum class LogFileCreationScheduleOption
public enum LogFileCreationScheduleOption
type LogFileCreationScheduleOption = 
Public Enum LogFileCreationScheduleOption
继承
LogFileCreationScheduleOption

字段

Daily 1

将当前日期包括在日志文件名称中。Include the current date in the log file name.

None 0

不要将日期包括在日志文件名称中。Do not include the date in the log file name.

Weekly 2

将当前周的第一天包括在日志文件名称中。Include the first day of the current week in the log file name.

注解

将其中一个LogFileCreationScheduleOption枚举值LogFileCreationSchedule分配给属性, 以指定要包含在其日志文件名称中的日期。Assign one of the LogFileCreationScheduleOption enumeration values to the LogFileCreationSchedule property to specify which date to include in the names of its log files.

适用于

另请参阅