Namespace: log4net.Layout
Assembly: log4net (in log4net.dll) Version: 1.2.15.0 (1.2.15.0)
returns the time stamp
Assembly: log4net (in log4net.dll) Version: 1.2.15.0 (1.2.15.0)
Syntax
Parameters
- loggingEvent
- Type: log4net.Core LoggingEvent
The event to format
Return Value
Type: Objectreturns the time stamp
Implements
IRawLayout Format(LoggingEvent)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