| LogEventBuilderTimeStamp Method |
Sets the timestamp of the logging event.
Namespace:
NLog
Assembly:
NLog (in NLog.dll) Version: 5.3.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
Syntax public LogEventBuilder TimeStamp(
DateTime timeStamp
)
Public Function TimeStamp (
timeStamp As DateTime
) As LogEventBuilder
Dim instance As LogEventBuilder
Dim timeStamp As DateTime
Dim returnValue As LogEventBuilder
returnValue = instance.TimeStamp(timeStamp)
member TimeStamp :
timeStamp : DateTime -> LogEventBuilder
Parameters
- timeStamp
- Type: SystemDateTime
The timestamp of the logging event.
Return Value
Type:
LogEventBuilderSee Also