LoggingEventStartTime Property Apache log4net™ SDK Documentation
Gets the time when the current process started.

Namespace: log4net.Core
Assembly: log4net (in log4net.dll) Version: 4.0

public static DateTime StartTime { get; }

Property Value

Type: DateTime
This is the time when this process started.

The TimeStamp is stored internally in UTC and converted to the local time zone for this computer.

Tries to get the start time for the current process. Failing that it returns the time of the first call to this property.

Note that AppDomains may be loaded and unloaded within the same process without the process terminating and therefore without the process start time being reset.

See Also