From 049d3b2fd82020539a4967fff1288704ca915fd8 Mon Sep 17 00:00:00 2001 From: Roy Ben Shabat Date: Sun, 30 Aug 2020 14:52:34 +0300 Subject: Redundant. --- .../Tango.FSE.Common/Logging/RemoteLogFileModel.cs | 21 --------------------- 1 file changed, 21 deletions(-) (limited to 'Software/Visual_Studio/FSE/Tango.FSE.Common/Logging/RemoteLogFileModel.cs') 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 }; } } - - /// - /// Performs log object detection on all log items. - /// - /// - public Task DetectLogObjects() - { - return Task.Factory.StartNew(() => - { - foreach (var item in LogItems) - { - Object obj = StringToJsonObjectExtractor.ExtractJsonObjectFromString(item.Message); - - if (obj != null) - { - item.LogObject = obj; - } - } - }); - } } } -- cgit v1.3.1