Squirrowse/Squirrowse.Core/CoreModule.cs
danielgrabowski e91a5143dd Codecleanup
2019-11-04 09:29:37 +01:00

15 lines
375 B
C#

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;
}
}
}