Skip to content

Commit b8bfdb7

Browse files
Merge pull request #185 from Moonlight-Panel/SwitchToSerilog
Switched to serilog as logging system
2 parents 1b40250 + 72f60ec commit b8bfdb7

File tree

75 files changed

+211
-986
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

75 files changed

+211
-986
lines changed

Moonlight/App/ApiClients/Modrinth/ModrinthApiHelper.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
using Logging.Net;
2-
using Newtonsoft.Json;
1+
using Newtonsoft.Json;
32
using RestSharp;
43

54
namespace Moonlight.App.ApiClients.Modrinth;

Moonlight/App/Database/Interceptors/SqlLoggingInterceptor.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using System.Data.Common;
2-
using Logging.Net;
32
using Microsoft.EntityFrameworkCore.Diagnostics;
3+
using Moonlight.App.Helpers;
44

55
namespace Moonlight.App.Database.Interceptors;
66

Moonlight/App/Events/EventSystem.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
using System.Diagnostics;
2-
using Logging.Net;
2+
using Moonlight.App.Helpers;
33

44
namespace Moonlight.App.Events;
55

Moonlight/App/Helpers/CacheLogger.cs

Lines changed: 0 additions & 252 deletions
This file was deleted.

Moonlight/App/Helpers/DatabaseCheckupService.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
using System.Diagnostics;
2-
using Logging.Net;
32
using Microsoft.EntityFrameworkCore;
43
using Moonlight.App.Database;
54
using Moonlight.App.Services;

Moonlight/App/Helpers/Files/SftpFileAccess.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
using Logging.Net;
2-
using Renci.SshNet;
1+
using Renci.SshNet;
32
using ConnectionInfo = Renci.SshNet.ConnectionInfo;
43

54
namespace Moonlight.App.Helpers.Files;

Moonlight/App/Helpers/HostSystemHelper.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
using System.Diagnostics;
22
using System.Runtime.InteropServices;
3-
using Logging.Net;
43

54
namespace Moonlight.App.Helpers;
65

0 commit comments

Comments
 (0)