IDateFormatter.FormatDate Method
IDateFormatterFormatDate Method Apache log4net™ SDK Documentation
Formats the specified date as a string.

Namespace: log4net.DateFormatter
Assembly: log4net (in log4net.dll) Version: 2.0.8.0-.NET 4.0
Syntax

void FormatDate(
	DateTime dateToFormat,
	TextWriter writer
)

Parameters

dateToFormat
Type: SystemDateTime
The date to format.
writer
Type: System.IOTextWriter
The writer to write to.
Remarks

Format the DateTime as a string and write it to the TextWriter provided.

See Also

Reference