diff --git a/EonaCat.Logger.LogClient/EonaCat.Logger.LogClient.csproj b/EonaCat.Logger.LogClient/EonaCat.Logger.LogClient.csproj index cb427bf..2a2117f 100644 --- a/EonaCat.Logger.LogClient/EonaCat.Logger.LogClient.csproj +++ b/EonaCat.Logger.LogClient/EonaCat.Logger.LogClient.csproj @@ -25,7 +25,7 @@ - + diff --git a/Testers/EonaCat.Logger.Test.Web/EonaCat.Logger.Test.Web.csproj b/Testers/EonaCat.Logger.Test.Web/EonaCat.Logger.Test.Web.csproj index 1b4a5cb..9ba1976 100644 --- a/Testers/EonaCat.Logger.Test.Web/EonaCat.Logger.Test.Web.csproj +++ b/Testers/EonaCat.Logger.Test.Web/EonaCat.Logger.Test.Web.csproj @@ -7,8 +7,8 @@ - - + + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/Testers/EonaCat.Logger.Test.Web/Pages/Privacy.cshtml.cs b/Testers/EonaCat.Logger.Test.Web/Pages/Privacy.cshtml.cs index 34cc43e..147de01 100644 --- a/Testers/EonaCat.Logger.Test.Web/Pages/Privacy.cshtml.cs +++ b/Testers/EonaCat.Logger.Test.Web/Pages/Privacy.cshtml.cs @@ -14,4 +14,4 @@ public class PrivacyModel : PageModel public void OnGet() { } -} \ No newline at end of file +} \ No newline at end of file diff --git a/Testers/EonaCat.Logger.Test.Web/Program.cs b/Testers/EonaCat.Logger.Test.Web/Program.cs index 9f0daad..72d2c84 100644 --- a/Testers/EonaCat.Logger.Test.Web/Program.cs +++ b/Testers/EonaCat.Logger.Test.Web/Program.cs @@ -33,8 +33,7 @@ PatternDetectionInterval = TimeSpan.FromMinutes(3) }; - MemoryGuard.Initialize(_config); - AllocationInterceptor.Initialize(MemoryGuard.Instance); + MemoryGuard.Start(_config); var builder = WebApplication.CreateBuilder(args); int onLogCounter = 0; @@ -220,7 +219,7 @@ } } - //MemoryLeakTester.Start(logger); + MemoryLeakTester.Start(logger); _ = Task.Run(RunMemoryReportTask).ConfigureAwait(false); _ = Task.Run(RunMaskTest).ConfigureAwait(false); _ = Task.Run(RunWebLoggerTestsAsync).ConfigureAwait(false);