Apache log4net� SDK Documentation - Microsoft .NET Framework 4.0 |
|
SimpleDateFormatter.FormatDate�Method�
Formats the date using ToString.
[Visual�Basic]
Overridable�Public�Sub�FormatDate( _
���ByVal
dateToFormat�As�
Date,�_
���ByVal
writer�As�
TextWriter�_
)�_
Parameters
-
dateToFormat
- The date to convert to a string.
-
writer
- The writer to write to.
Implements
IDateFormatter.FormatDate
Remarks
Uses the date format string supplied to the constructor to call the ToString method to format the date.
See Also
SimpleDateFormatter Class | log4net.DateFormatter Namespace