using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.DependencyInjection.Extensions; using Opsoft.NetCore.O3App.Shared; namespace Opsoft.NetCore.O3App.Infrastructure { public static class SkynetLoggerExtensions { public static IServiceCollection AddSkynetLogger(this IServiceCollection services) { services.TryAddSingleton(typeof(ILogger<>), typeof(SkynetLogger<>)); return services; } } }