Click or drag to resize

TimeSource Class

Defines source of current time.
Inheritance Hierarchy
SystemObject
  NLog.TimeTimeSource
    NLog.TimeAccurateLocalTimeSource
    NLog.TimeAccurateUtcTimeSource
    NLog.TimeCachedTimeSource

Namespace:  NLog.Time
Assembly:  NLog (in NLog.dll) Version: 5.3.1+cf6675da40ccfd4c8c526a3b2bdbeed3442910a1
Syntax
public abstract class TimeSource

The TimeSource type exposes the following members.

Constructors
  NameDescription
Protected methodTimeSource
Initializes a new instance of the TimeSource class
Top
Properties
  NameDescription
Public propertyStatic memberCurrent
Gets or sets current global time source used in all log events.
Public propertyTime
Gets current time.
Top
Methods
  NameDescription
Public methodFromSystemTime
Converts the specified system time to the same form as the time value originated from this time source.
Public methodToString
Returns a String that represents this instance.
(Overrides ObjectToString.)
Top
See Also