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.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
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