Skip to content

Commit 3767069

Browse files
committed
Chore: Add logging
1 parent fc4de8d commit 3767069

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Source/NETworkManager/ViewModels/NetworkConnectionWidgetViewModel.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,21 @@
22
using NETworkManager.Settings;
33
using NETworkManager.Utilities;
44
using System;
5-
using System.Collections.Generic;
65
using System.Net;
76
using System.Net.Http;
87
using System.Text.RegularExpressions;
98
using System.Threading;
109
using System.Threading.Tasks;
1110
using System.Windows.Input;
11+
using log4net;
1212
using NetworkInterface = NETworkManager.Models.Network.NetworkInterface;
1313

1414
namespace NETworkManager.ViewModels;
1515

1616
public class NetworkConnectionWidgetViewModel : ViewModelBase
1717
{
1818
#region Variables
19+
private static readonly ILog Log = LogManager.GetLogger(typeof(NetworkConnectionWidgetViewModel));
1920
private bool _isChecking;
2021

2122
#region Computer
@@ -537,9 +538,11 @@ private Task CheckConnectionComputerAsync(CancellationToken ct)
537538
IsComputerIPv4Checking = true;
538539
ComputerIPv4 = "";
539540
ComputerIPv4State = ConnectionState.None;
541+
540542
IsComputerIPv6Checking = true;
541543
ComputerIPv6 = "";
542544
ComputerIPv6State = ConnectionState.None;
545+
543546
IsComputerDNSChecking = true;
544547
ComputerDNS = "";
545548
ComputerDNSState = ConnectionState.None;

0 commit comments

Comments
 (0)