Split project listen urls

This commit is contained in:
jvyden 2022-05-14 17:02:10 -04:00
parent 4caef5fd63
commit 8cb9abfd3e
No known key found for this signature in database
GPG key ID: 18BCF2BE0262B278
6 changed files with 25 additions and 6 deletions

View file

@ -3,6 +3,7 @@ using System.Diagnostics;
using LBPUnion.ProjectLighthouse.Helpers;
using LBPUnion.ProjectLighthouse.Logging;
using LBPUnion.ProjectLighthouse.Logging.Loggers;
using LBPUnion.ProjectLighthouse.Startup;
using LBPUnion.ProjectLighthouse.Types;
using LBPUnion.ProjectLighthouse.Types.Settings;
using Microsoft.EntityFrameworkCore;
@ -17,6 +18,10 @@ public static class StartupTasks
Stopwatch stopwatch = new();
stopwatch.Start();
#if DEBUG
DebugWarmupLifetime.ServerType = serverType;
#endif
// Setup logging
Logger.AddLogger(new ConsoleLogger());
Logger.AddLogger(new LighthouseFileLogger());