Renders the date into a string. Format is "HH:mm:ss".
Namespace: log4net.DateFormatterAssembly: log4net (in log4net.dll) Version: 1.2.15.0 (1.2.15.0)
Syntax
Parameters
- dateToFormat
- Type: System DateTime
The date to render into a string.
- buffer
- Type: System.Text StringBuilder
The string builder to write to.
Remarks
Subclasses should override this method to render the date into a string using a precision up to the second. This method will be called at most once per second and the result will be reused if it is needed again during the same second.
See Also