TimeSource Class |
Namespace: NLog.Time
The TimeSource type exposes the following members.
| Name | Description | |
|---|---|---|
| TimeSource | Initializes a new instance of the TimeSource class |
| Name | Description | |
|---|---|---|
| Current |
Gets or sets current global time source used in all log events.
| |
| Time |
Gets current time.
|
| Name | Description | |
|---|---|---|
| FromSystemTime |
Converts the specified system time to the same form as the time value originated from this time source.
| |
| ToString |
Returns a String that represents this instance.
(Overrides ObjectToString.) |