FileLogTraceListener::LogFileCreationSchedule Property

 

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

Namespace:   Microsoft.VisualBasic.Logging
Assembly:  Microsoft.VisualBasic (in Microsoft.VisualBasic.dll)

public:
property LogFileCreationScheduleOption LogFileCreationSchedule {
	LogFileCreationScheduleOption get();
	void set(LogFileCreationScheduleOption value);
}

Property Value

Type: Microsoft.VisualBasic.Logging::LogFileCreationScheduleOption

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

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.

.NET Framework
Available since 2.0
Return to top
Show: