FileArchiveFileNameContext(String, String, DateTime, Int64) Constructor

Definition

Assembly XenoAtom.Logging.dll

Context passed to ArchiveFileNameFormatter when rolling files.

public FileArchiveFileNameContext(string BaseFileName, string Extension, DateTime Timestamp, long Sequence)

Parameters

BaseFileName
String

The base file name without extension (for example app).

Extension
String

The active file extension (for example .log).

Timestamp
DateTime

The roll timestamp converted according to ArchiveTimestampMode.

Sequence
Int64

The sequence suffix used to disambiguate name collisions. The first attempt uses 0.