mirror of
https://github.com/ICDSystems/ICD.Common.Utils.git
synced 2026-02-13 03:35:04 +00:00
refactor: Removing unused code
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
using System;
|
||||
using System.Text;
|
||||
using ICD.Common.Properties;
|
||||
|
||||
namespace ICD.Common.Utils.Services.Logging
|
||||
@@ -21,11 +20,6 @@ namespace ICD.Common.Utils.Services.Logging
|
||||
[PublicAPI]
|
||||
public DateTime Timestamp { get { return m_Timestamp; } }
|
||||
|
||||
/// <summary>
|
||||
/// Gets the log time in local time.
|
||||
/// </summary>
|
||||
public DateTime LocalTimestamp { get { return Timestamp.ToLocalTime(); } }
|
||||
|
||||
/// <summary>
|
||||
/// Get/Set for severity level.
|
||||
/// </summary>
|
||||
@@ -56,24 +50,6 @@ namespace ICD.Common.Utils.Services.Logging
|
||||
|
||||
#region Methods
|
||||
|
||||
/// <summary>
|
||||
/// Return the text format to send to Fusion
|
||||
/// </summary>
|
||||
/// <returns>text format for fusion, including timestamp, severity, and message</returns>
|
||||
[PublicAPI]
|
||||
public string GetFusionLogText()
|
||||
{
|
||||
StringBuilder s = new StringBuilder();
|
||||
|
||||
s.Append(Timestamp.ToString("yyyyMMddHHmmss"));
|
||||
s.Append("||");
|
||||
s.Append((int)Severity);
|
||||
s.Append("||");
|
||||
s.Append(Message);
|
||||
|
||||
return s.ToString();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Implementing default equality.
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user