diff --git a/.idea/.idea.NlogViewer/.idea/.gitignore b/.idea/.idea.NlogViewer/.idea/.gitignore
new file mode 100644
index 0000000..e2b4e35
--- /dev/null
+++ b/.idea/.idea.NlogViewer/.idea/.gitignore
@@ -0,0 +1,13 @@
+# Default ignored files
+/shelf/
+/workspace.xml
+# Rider ignored files
+/contentModel.xml
+/.idea.NlogViewer.iml
+/modules.xml
+/projectSettingsUpdater.xml
+# Editor-based HTTP Client requests
+/httpRequests/
+# Datasource local storage ignored files
+/dataSources/
+/dataSources.local.xml
diff --git a/.idea/.idea.NlogViewer/.idea/encodings.xml b/.idea/.idea.NlogViewer/.idea/encodings.xml
new file mode 100644
index 0000000..df87cf9
--- /dev/null
+++ b/.idea/.idea.NlogViewer/.idea/encodings.xml
@@ -0,0 +1,4 @@
+
+
+
+
\ No newline at end of file
diff --git a/.idea/.idea.NlogViewer/.idea/indexLayout.xml b/.idea/.idea.NlogViewer/.idea/indexLayout.xml
new file mode 100644
index 0000000..7b08163
--- /dev/null
+++ b/.idea/.idea.NlogViewer/.idea/indexLayout.xml
@@ -0,0 +1,8 @@
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/.idea.NlogViewer/.idea/misc.xml b/.idea/.idea.NlogViewer/.idea/misc.xml
new file mode 100644
index 0000000..1d8c84d
--- /dev/null
+++ b/.idea/.idea.NlogViewer/.idea/misc.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/.idea.NlogViewer/.idea/vcs.xml b/.idea/.idea.NlogViewer/.idea/vcs.xml
new file mode 100644
index 0000000..94a25f7
--- /dev/null
+++ b/.idea/.idea.NlogViewer/.idea/vcs.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/MigrationBackup/075e89d0/NlogViewer/NlogViewer.csproj b/MigrationBackup/075e89d0/NlogViewer/NlogViewer.csproj
new file mode 100644
index 0000000..c947b36
--- /dev/null
+++ b/MigrationBackup/075e89d0/NlogViewer/NlogViewer.csproj
@@ -0,0 +1,116 @@
+
+
+
+
+ Debug
+ AnyCPU
+ {C04E879D-287E-49B5-9933-42FC2EFF75F0}
+ library
+ Properties
+ NlogViewer
+ NlogViewer
+ v4.8
+ 512
+ {60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}
+ 4
+ ..\
+ true
+
+
+
+ true
+ full
+ false
+ bin\Debug\
+ DEBUG;TRACE
+ prompt
+ 4
+ false
+
+
+ pdbonly
+ true
+ bin\Release\
+ TRACE
+ prompt
+ 4
+ false
+
+
+
+ ..\packages\NLog.3.0.0.0\lib\net40\NLog.dll
+
+
+
+
+
+
+
+
+
+ 4.0
+
+
+
+
+
+
+
+
+
+ NlogViewer.xaml
+
+
+
+
+
+ Code
+
+
+ True
+ True
+ Resources.resx
+
+
+ True
+ Settings.settings
+ True
+
+
+ ResXFileCodeGenerator
+ Resources.Designer.cs
+
+
+ Designer
+
+
+
+
+
+ SettingsSingleFileGenerator
+ Settings.Designer.cs
+
+
+
+
+
+ Designer
+ MSBuild:Compile
+
+
+
+
+ if "$(ConfigurationName)" == "Release" (
+
+NuGet.exe pack "$(ProjectDir)NlogViewer.csproj" -Prop Configuration=Release
+
+)
+
+
+
\ No newline at end of file
diff --git a/MigrationBackup/075e89d0/NlogViewer/NuGetUpgradeLog.html b/MigrationBackup/075e89d0/NlogViewer/NuGetUpgradeLog.html
new file mode 100644
index 0000000..20b6193
--- /dev/null
+++ b/MigrationBackup/075e89d0/NlogViewer/NuGetUpgradeLog.html
@@ -0,0 +1,162 @@
+
+
+
+
Overview
Migration to PackageReference was completed successfully. Please build and run your solution to verify that all packages are available.
+ If you run into any problems, have feedback, questions, or concerns, please
+
file an issue on the NuGet GitHub repository.
+ Changed files and this report have been backed up here:
+
E:\CSharpOpen\NlogViewer\MigrationBackup\075e89d0\NlogViewerPackages processed
Top-level dependencies:
| Package Id | Version |
|---|
| NLog |
+ v3.0.0 |
Transitive dependencies:
| Package Id | Version |
|---|
|
+ No transitive dependencies found.
+ | |
Package compatibility issues
| Description |
|---|
|
+ No issues were found.
+ |
\ No newline at end of file
diff --git a/NlogViewer/packages.config b/MigrationBackup/075e89d0/NlogViewer/packages.config
similarity index 100%
rename from NlogViewer/packages.config
rename to MigrationBackup/075e89d0/NlogViewer/packages.config
diff --git a/NlogViewer.backup/LogEventViewModel.cs b/NlogViewer.backup/LogEventViewModel.cs
new file mode 100644
index 0000000..0041160
--- /dev/null
+++ b/NlogViewer.backup/LogEventViewModel.cs
@@ -0,0 +1,60 @@
+using System;
+using System.Globalization;
+using System.Windows.Media;
+using NLog;
+
+namespace NlogViewer
+{
+ public class LogEventViewModel
+ {
+ private LogEventInfo logEventInfo;
+
+ public LogEventViewModel(LogEventInfo logEventInfo)
+ {
+ // TODO: Complete member initialization
+ this.logEventInfo = logEventInfo;
+
+ ToolTip = logEventInfo.FormattedMessage;
+ Level = logEventInfo.Level.ToString();
+ FormattedMessage = logEventInfo.FormattedMessage;
+ Exception = logEventInfo.Exception;
+ LoggerName = logEventInfo.LoggerName;
+ Time = logEventInfo.TimeStamp.ToString(CultureInfo.InvariantCulture);
+
+ SetupColors(logEventInfo);
+ }
+
+
+ public string Time { get; private set; }
+ public string LoggerName { get; private set; }
+ public string Level { get; private set; }
+ public string FormattedMessage { get; private set; }
+ public Exception Exception { get; private set; }
+ public string ToolTip { get; private set; }
+ public SolidColorBrush Background { get; private set; }
+ public SolidColorBrush Foreground { get; private set; }
+ public SolidColorBrush BackgroundMouseOver { get; private set; }
+ public SolidColorBrush ForegroundMouseOver { get; private set; }
+
+ private void SetupColors(LogEventInfo logEventInfo)
+ {
+ if (logEventInfo.Level == LogLevel.Warn)
+ {
+ Background = Brushes.Yellow;
+ BackgroundMouseOver = Brushes.GreenYellow;
+ }
+ else if (logEventInfo.Level == LogLevel.Error)
+ {
+ Background = Brushes.Tomato;
+ BackgroundMouseOver = Brushes.IndianRed;
+ }
+ else
+ {
+ Background = Brushes.White;
+ BackgroundMouseOver = Brushes.LightGray;
+ }
+ Foreground = Brushes.Black;
+ ForegroundMouseOver = Brushes.Black;
+ }
+ }
+}
\ No newline at end of file
diff --git a/NlogViewer.backup/NLogEvent.cs b/NlogViewer.backup/NLogEvent.cs
new file mode 100644
index 0000000..a961cee
--- /dev/null
+++ b/NlogViewer.backup/NLogEvent.cs
@@ -0,0 +1,29 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using NLog;
+
+namespace NLog
+{
+ public class NLogEvent : EventArgs
+ {
+ public LogEventInfo EventInfo;
+
+ public NLogEvent(LogEventInfo LogEventInfo)
+ {
+ // TODO: Complete member initialization
+ this.EventInfo = LogEventInfo;
+ }
+
+
+ public static implicit operator LogEventInfo(NLogEvent e )
+ {
+ return e.EventInfo;
+ }
+ public static implicit operator NLogEvent(LogEventInfo e)
+ {
+ return new NLogEvent(e);
+ }
+ }
+}
diff --git a/NlogViewer.backup/NlogViewer.csproj b/NlogViewer.backup/NlogViewer.csproj
new file mode 100644
index 0000000..1a6850b
--- /dev/null
+++ b/NlogViewer.backup/NlogViewer.csproj
@@ -0,0 +1,117 @@
+
+