aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/App.xaml.cs
diff options
context:
space:
mode:
authorRoy Ben Shabat <Roy.mail.net@gmail.com>2020-03-22 16:50:25 +0200
committerRoy Ben Shabat <Roy.mail.net@gmail.com>2020-03-22 16:50:25 +0200
commit2ebbed964bdc4aa1c2889d6c4c0521b3ba1562aa (patch)
tree10c930342d7c137fac78c529f1c3aeb380011190 /Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/App.xaml.cs
parent5a5b63afd5c4ff1d6a1dbd6996ed0a5a494387d0 (diff)
downloadTango-2ebbed964bdc4aa1c2889d6c4c0521b3ba1562aa.tar.gz
Tango-2ebbed964bdc4aa1c2889d6c4c0521b3ba1562aa.zip
Dropped logging categories from settings on MS and PPC.
Debug Logs Processing is done in real time from UI.
Diffstat (limited to 'Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/App.xaml.cs')
-rw-r--r--Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/App.xaml.cs13
1 files changed, 0 insertions, 13 deletions
diff --git a/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/App.xaml.cs b/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/App.xaml.cs
index cb17a5a83..2ea0ebd38 100644
--- a/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/App.xaml.cs
+++ b/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/App.xaml.cs
@@ -81,19 +81,6 @@ namespace Tango.MachineStudio.UI
base.OnStartup(e);
- LogManager.Categories.Clear();
-
-
- if (settings.LoggingCategories.Count == 0)
- {
- settings.LoggingCategories.Add(LogCategory.Critical);
- settings.LoggingCategories.Add(LogCategory.Error);
- settings.LoggingCategories.Add(LogCategory.Info);
- settings.LoggingCategories.Add(LogCategory.Warning);
- }
-
- LogManager.Categories.AddRange(settings.LoggingCategories);
-
exceptionTrapper = new WpfGlobalExceptionTrapper();
exceptionTrapper.Initialize(this);
exceptionTrapper.ApplicationCrashed += ExceptionTrapper_ApplicationCrashed;