mirror of
https://github.com/netchx/netch.git
synced 2026-04-15 21:03:23 +08:00
Update texts
rename Subscribe Link (WTF??) to Subscription Full English log Remove Debug Logging Sink Add Console Logging Sink
This commit is contained in:
@@ -10,7 +10,6 @@ using Netch.Models;
|
||||
using Netch.Servers;
|
||||
using Netch.Utils;
|
||||
using Serilog;
|
||||
using Serilog.Events;
|
||||
|
||||
namespace Netch.Controllers
|
||||
{
|
||||
@@ -48,14 +47,6 @@ namespace Netch.Controllers
|
||||
|
||||
await Task.WhenAll(Task.Run(NativeMethods.RefreshDNSCache), Task.Run(Firewall.AddNetchFwRules));
|
||||
|
||||
if (Log.IsEnabled(LogEventLevel.Debug))
|
||||
Task.Run(() =>
|
||||
{
|
||||
// TODO log level setting
|
||||
Log.Debug("Running Processes: \n{Processes}", string.Join("\n", SystemInfo.Processes(false)));
|
||||
})
|
||||
.Forget();
|
||||
|
||||
try
|
||||
{
|
||||
(ModeController, ModeFeatures) = ModeHelper.GetModeControllerByType(mode.Type, out var modePort, out var portName);
|
||||
|
||||
Reference in New Issue
Block a user