aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.Logging/LogItemBase.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Software/Visual_Studio/Tango.Logging/LogItemBase.cs')
-rw-r--r--Software/Visual_Studio/Tango.Logging/LogItemBase.cs14
1 files changed, 1 insertions, 13 deletions
diff --git a/Software/Visual_Studio/Tango.Logging/LogItemBase.cs b/Software/Visual_Studio/Tango.Logging/LogItemBase.cs
index d5271d213..f89b73b40 100644
--- a/Software/Visual_Studio/Tango.Logging/LogItemBase.cs
+++ b/Software/Visual_Studio/Tango.Logging/LogItemBase.cs
@@ -1,5 +1,4 @@
-using Newtonsoft.Json;
-using System;
+using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.IO;
@@ -23,10 +22,8 @@ namespace Tango.Logging
/// <summary>
/// Gets or sets an optional log object.
/// </summary>
- [JsonIgnore]
public Object LogObject
{
-
get { return _logObject; }
set { _logObject = value; }
}
@@ -44,21 +41,12 @@ namespace Tango.Logging
/// <summary>
/// Gets the relative caller file.
/// </summary>
- [JsonIgnore]
public String RelativeCallerFile
{
get { return GetRelativeCallerFilePath(); }
}
/// <summary>
- /// Gets the name of the caller file class.
- /// </summary>
- public String ClassName
- {
- get { return RelativeCallerFile.Split('\\').LastOrDefault()?.Split('.').FirstOrDefault(); }
- }
-
- /// <summary>
/// Gets or sets the caller line number.
/// </summary>
public int CallerLineNumber { get; set; }