diff options
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; - } - } - }); - } } } |
