LogFileCreationScheduleOption LogFileCreationScheduleOption LogFileCreationScheduleOption LogFileCreationScheduleOption Enum

定义

确定要包括在 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
继承
LogFileCreationScheduleOptionLogFileCreationScheduleOptionLogFileCreationScheduleOptionLogFileCreationScheduleOption

字段

Daily Daily Daily Daily 1

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

None None None None 0

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

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

适用于

另请参阅