AbsoluteTimeDateFormatterFormatDateWithoutMillis Method Apache log4net™ SDK Documentation
Renders the date into a string. Format is "HH:mm:ss".

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

protected virtual void FormatDateWithoutMillis(
	DateTime dateToFormat,
	StringBuilder buffer
)

Parameters

dateToFormat
Type: SystemDateTime
The date to render into a string.
buffer
Type: System.TextStringBuilder
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

Reference