netmash/NDB.Logging.Api/DependencyInjectionExtensio...

13 lines
306 B
C#

using Microsoft.Extensions.DependencyInjection;
namespace NDB.Logging.Api
{
public static class DependencyInjectionExtensions
{
public static void AddRequestLogging(this IServiceCollection services)
{
services.AddScoped<RequestLoggingAttribute>();
}
}
}