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.5.0+1873145cbc26e0312d9481234d69ce7dc68aac4e
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