diff --git a/ICD.Common.Utils/Services/Logging/LogItem.cs b/ICD.Common.Utils/Services/Logging/LogItem.cs index 0906745..eef5929 100644 --- a/ICD.Common.Utils/Services/Logging/LogItem.cs +++ b/ICD.Common.Utils/Services/Logging/LogItem.cs @@ -17,11 +17,16 @@ namespace ICD.Common.Services.Logging #region Properties /// - /// Accessor only for timestamp. + /// Gets the log time in UTC. /// [PublicAPI] public DateTime Timestamp { get { return m_Timestamp; } } + /// + /// Gets the log time in local time. + /// + public DateTime LocalTimestamp { get { return Timestamp.ToLocalTime(); } } + /// /// Get/Set for severity level. /// @@ -45,7 +50,7 @@ namespace ICD.Common.Services.Logging { m_Severity = severity; m_Message = message; - m_Timestamp = IcdEnvironment.GetLocalTime(); + m_Timestamp = IcdEnvironment.GetLocalTime().ToUniversalTime(); } #endregion