FileLogTraceListener.LogFileCreationSchedule Property

Definition

Determines which date to include in the names of the log files.

public:
 property Microsoft::VisualBasic::Logging::LogFileCreationScheduleOption LogFileCreationSchedule { Microsoft::VisualBasic::Logging::LogFileCreationScheduleOption get(); void set(Microsoft::VisualBasic::Logging::LogFileCreationScheduleOption value); };
public Microsoft.VisualBasic.Logging.LogFileCreationScheduleOption LogFileCreationSchedule { get; set; }
member this.LogFileCreationSchedule : Microsoft.VisualBasic.Logging.LogFileCreationScheduleOption with get, set
Public Property LogFileCreationSchedule As LogFileCreationScheduleOption

Property Value

LogFileCreationScheduleOption. This indicates which date to include in the log-file names. The default value is None.

Remarks

Assign one of the LogFileCreationScheduleOption enumeration values to the LogFileCreationSchedule property to specify which date to include in the names of the log files.

The format of the date is YYYY-MM-DD. For more information on the format of the log file name, see FullLogFileName.

LogFileCreationSchedule value Date in the log file name
Daily Include the current date in the log file name.
None Do not include the date in the log file name.
Weekly Include the first day of the current week in the log file name.

The week starts on Saturday.

Applies to

See also