IDateFormatter InterfaceApache log4net™ SDK Documentation
Render a DateTime as a string.

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

public interface IDateFormatter

The IDateFormatter type exposes the following members.

Methods

  NameDescription
Public methodFormatDate
Formats the specified date as a string.
Top
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

Reference