diff --git a/src/ApiService/ApiService/Program.cs b/src/ApiService/ApiService/Program.cs index bce24f534d..b04dbd7458 100644 --- a/src/ApiService/ApiService/Program.cs +++ b/src/ApiService/ApiService/Program.cs @@ -36,22 +36,6 @@ public async Async.Task Invoke(FunctionContext context, FunctionExecutionDelegat } } - - public static List GetLoggers(IServiceConfig config) { - List loggers = new List(); - foreach (var dest in config.LogDestinations) { - loggers.Add( - dest switch { - LogDestination.AppInsights => new AppInsights(config.ApplicationInsightsInstrumentationKey!), - LogDestination.Console => new Console(), - _ => throw new Exception($"Unhandled Log Destination type: {dest}"), - } - ); - } - return loggers; - } - - //Move out expensive resources into separate class, and add those as Singleton // ArmClient, Table Client(s), Queue Client(s), HttpClient, etc. public async static Async.Task Main() {