Apache log4net� SDK Documentation - Microsoft .NET Framework 4.0

IDateFormatter Interface

Render a DateTime as a string.

For a list of all members of this type, see IDateFormatter Members.


Types that implement IDateFormatter

Type Description
AbsoluteTimeDateFormatter Formats a DateTime as "HH:mm:ss,fff".
DateTimeDateFormatter Formats a DateTime as "dd MMM yyyy HH:mm:ss,fff"
Iso8601DateFormatter Formats the DateTime as "yyyy-MM-dd HH:mm:ss,fff".
SimpleDateFormatter Formats the DateTime using the ToString method.


Interface to abstract the rendering of a DateTime instance into a string.

The FormatDate method is used to render the date to a text writer.


Namespace: log4net.DateFormatter

Assembly: log4net (in log4net.dll)

See Also

IDateFormatter Members | log4net.DateFormatter Namespace