Render a DateTime as a string.
Namespace: log4net.DateFormatter
Assembly: log4net (in log4net.dll) Version: 2.0.6.0-.NET 4.0
Syntax
The IDateFormatter type exposes the following members.
Methods
Name | Description | |
---|---|---|
FormatDate |
Formats the specified date as a string.
|
Remarks
Interface to abstract the rendering of a DateTime instance into a string.
The FormatDate(DateTime, TextWriter) method is used to render the date to a text writer.
See Also