Click or drag to resize
TimeSource Class
Defines source of current time.
Inheritance Hierarchy

Namespace: NLog.Time
Assembly: NLog (in NLog.dll) Version: 4.3.0
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