diff options
| author | Mirta <mirta@twine-s.com> | 2020-12-30 14:27:05 +0200 |
|---|---|---|
| committer | Mirta <mirta@twine-s.com> | 2020-12-30 14:27:05 +0200 |
| commit | 1344a54c37f7cbba7a294674b4b733d72ee257ea (patch) | |
| tree | 4b24c6fa78d7648f4bb7cefafa464bb0b063fec4 /Software/Visual_Studio/Tango.Logging/LogItemBase.cs | |
| parent | 124ad4150f80c6846fdee41dbbda9848c105f6e5 (diff) | |
| parent | 281610ac56799f6870c587a942495d91cd55b227 (diff) | |
| download | Tango-1344a54c.tar.gz Tango-1344a54c.zip | |
Hope it is fine
Diffstat (limited to 'Software/Visual_Studio/Tango.Logging/LogItemBase.cs')
| -rw-r--r-- | Software/Visual_Studio/Tango.Logging/LogItemBase.cs | 14 |
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; } |
