C# Класс DotLog.FileLogging.RollingLogFile

Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
DefaultFileNameTemplate string
NumberedFileNamePattern string

Открытые методы

Метод Описание
GetNextFileName ( ) : string

Returns the name to use for the next rolling log file. The name's numeric part is a value that is one greater than the highest number actually found in the BasePath location, or else is equal to 1. It is formatted according to FileNameTemplate

Validate ( ) : void

Приватные методы

Метод Описание
CreateFileNameGlobPattern ( ) : void

The glob pattern to use for searching for file names that match the current FileNameTemplate. Essentially, the '#' is simply replaced with '?' as used by the operating system for glob searching, but we use the regex to get the other file name parts and store them for later use.

Описание методов

GetNextFileName() публичный Метод

Returns the name to use for the next rolling log file. The name's numeric part is a value that is one greater than the highest number actually found in the BasePath location, or else is equal to 1. It is formatted according to FileNameTemplate
public GetNextFileName ( ) : string
Результат string

Validate() публичный Метод

public Validate ( ) : void
Результат void

Описание свойств

DefaultFileNameTemplate публичное статическое свойство

public static string DefaultFileNameTemplate
Результат string

NumberedFileNamePattern публичное статическое свойство

public static string NumberedFileNamePattern
Результат string