diff options
| author | Mirta <mirta@twine-s.com> | 2020-12-30 16:39:52 +0200 |
|---|---|---|
| committer | Mirta <mirta@twine-s.com> | 2020-12-30 16:39:52 +0200 |
| commit | 00a491d93733d4625ad329b2ba8237f445364b3f (patch) | |
| tree | 4b24c6fa78d7648f4bb7cefafa464bb0b063fec4 /Software/Visual_Studio/Tango.Logging/LogItemBase.cs | |
| parent | 124ad4150f80c6846fdee41dbbda9848c105f6e5 (diff) | |
| download | Tango-00a491d9.tar.gz Tango-00a491d9.zip | |
merge
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; } |
