Apache log4net� SDK Documentation - Microsoft .NET Framework 4.0

RawUtcTimeStampLayout.Format�Method�

Gets the TimeStamp as a DateTime.

[Visual�Basic]
Overridable�Public�Function�Format( _
���ByVal loggingEvent�As�LoggingEvent�_
)�As�Object�_
����Implements�IRawLayout.Format
[C#]
public�virtual�object�Format(
���LoggingEventloggingEvent
);

Parameters

loggingEvent
The event to format

Return Value

returns the time stamp

Implements

IRawLayout.Format

Remarks

Gets the TimeStamp as a DateTime.

The time stamp is in universal time. To format the time stamp in local time use RawTimeStampLayout.

See Also

RawUtcTimeStampLayout Class | log4net.Layout Namespace