Squirrowse/Squirrowse.Core/CoreModule.cs

15 lines
375 B
C#
Raw Normal View History

2019-11-04 09:29:37 +01:00
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
namespace Squirrowse.Core
{
public static class CoreModule
{
public static IServiceCollection AddCoreModule(this IServiceCollection services)
{
services.AddSingleton(typeof(ILogger<>), typeof(Logger<>));
return services;
}
}
2019-11-04 09:29:37 +01:00
}