diff options
| author | Avi Levkovich <avi@twine-s.com> | 2020-08-31 12:03:11 +0300 |
|---|---|---|
| committer | Avi Levkovich <avi@twine-s.com> | 2020-08-31 12:03:11 +0300 |
| commit | 5c19a9bef046ff080a9a7008bd4f39e2a13e4ccb (patch) | |
| tree | 500e4b50dd615b86cad12c7b11439ba007b20668 /Software/Visual_Studio/FSE/Tango.FSE.Common/Logging/RemoteLogFileModel.cs | |
| parent | 29b08a41f29655561ab83d8b454ea5fb6227ad7a (diff) | |
| parent | 751ec679b65431ab3ce13f1c5c58cb0891b2fdbe (diff) | |
| download | Tango-5c19a9bef046ff080a9a7008bd4f39e2a13e4ccb.tar.gz Tango-5c19a9bef046ff080a9a7008bd4f39e2a13e4ccb.zip | |
Merge branch 'master' of https://twinetfs.visualstudio.com/Tango/_git/Tango
Diffstat (limited to 'Software/Visual_Studio/FSE/Tango.FSE.Common/Logging/RemoteLogFileModel.cs')
| -rw-r--r-- | Software/Visual_Studio/FSE/Tango.FSE.Common/Logging/RemoteLogFileModel.cs | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/Software/Visual_Studio/FSE/Tango.FSE.Common/Logging/RemoteLogFileModel.cs b/Software/Visual_Studio/FSE/Tango.FSE.Common/Logging/RemoteLogFileModel.cs index 05f1281a3..37111e447 100644 --- a/Software/Visual_Studio/FSE/Tango.FSE.Common/Logging/RemoteLogFileModel.cs +++ b/Software/Visual_Studio/FSE/Tango.FSE.Common/Logging/RemoteLogFileModel.cs @@ -119,7 +119,6 @@ namespace Tango.FSE.Common.Logging RemoteLogFile.DateModified = LogItems.Last().TimeStamp.ToUniversalTime(); RaisePropertyChanged(nameof(Duration)); DownloadCompleted?.Invoke(this, new EventArgs()); - DetectLogObjects(); } else if (status == FileSystemHandlerStatus.Failed) { @@ -128,25 +127,5 @@ namespace Tango.FSE.Common.Logging }; } } - - /// <summary> - /// Performs log object detection on all log items. - /// </summary> - /// <returns></returns> - public Task DetectLogObjects() - { - return Task.Factory.StartNew(() => - { - foreach (var item in LogItems) - { - Object obj = StringToJsonObjectExtractor.ExtractJsonObjectFromString(item.Message); - - if (obj != null) - { - item.LogObject = obj; - } - } - }); - } } } |
