Add project files.
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
// ***********************************************************************
|
||||
// <copyright file="HttpLoggingMiddlewareExtension.cs">
|
||||
// Heath
|
||||
// </copyright>
|
||||
// ***********************************************************************
|
||||
|
||||
using Lib.Common.LoggingAPI.Common.Settings;
|
||||
using Microsoft.AspNetCore.Builder;
|
||||
|
||||
namespace Lib.Common.LoggingAPI.Service.Middleware.HttpLogger
|
||||
{
|
||||
public static class HttpLoggingMiddlewareExtension
|
||||
{
|
||||
public static IApplicationBuilder UseCustomHttpLogging(this IApplicationBuilder builder, ServiceSettings settings)
|
||||
{
|
||||
return builder.UseMiddleware<HttpLoggingMiddleware>(settings);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user