Skip to content

Commit

Permalink
#2597 Rename UseSerilogEnrichers to UseAbpSerilogEnrichers
Browse files Browse the repository at this point in the history
  • Loading branch information
hikalkan committed Jan 13, 2020
1 parent 3240766 commit a8e8cf2
Show file tree
Hide file tree
Showing 11 changed files with 11 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ namespace Microsoft.AspNetCore.Builder
{
public static class AbpAspNetCoreSerilogApplicationBuilderExtensions
{
public static IApplicationBuilder UseSerilogEnrichers(this IApplicationBuilder app)
public static IApplicationBuilder UseAbpSerilogEnrichers(this IApplicationBuilder app)
{
return app
.UseMiddleware<AbpSerilogMiddleware>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public override void OnApplicationInitialization(ApplicationInitializationContex
app.UseAuthorization();
app.UseMultiTenancy();
app.UseAuditing();
app.UseSerilogEnrichers();
app.UseAbpSerilogEnrichers();
app.UseMvcWithDefaultRouteAndArea();
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ public override void OnApplicationInitialization(ApplicationInitializationContex
});

app.UseAuditing();
app.UseSerilogEnrichers();
app.UseAbpSerilogEnrichers();
app.UseMvcWithDefaultRouteAndArea();
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ public override void OnApplicationInitialization(ApplicationInitializationContex
});

app.UseAuditing();
app.UseSerilogEnrichers();
app.UseAbpSerilogEnrichers();
app.UseMvcWithDefaultRouteAndArea();
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ public override void OnApplicationInitialization(ApplicationInitializationContex
app.UseAuthorization();
app.UseAbpRequestLocalization();
app.UseAuditing();
app.UseSerilogEnrichers();
app.UseAbpSerilogEnrichers();
app.UseMvcWithDefaultRouteAndArea();
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ public override void OnApplicationInitialization(ApplicationInitializationContex
});

app.UseAuditing();
app.UseSerilogEnrichers();
app.UseAbpSerilogEnrichers();
app.UseMvcWithDefaultRouteAndArea();
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ public override void OnApplicationInitialization(ApplicationInitializationContex
options.SwaggerEndpoint("/swagger/v1/swagger.json", "MyProjectName API");
});
app.UseAuditing();
app.UseSerilogEnrichers();
app.UseAbpSerilogEnrichers();
app.UseMvcWithDefaultRouteAndArea();
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ public override void OnApplicationInitialization(ApplicationInitializationContex
options.SwaggerEndpoint("/swagger/v1/swagger.json", "Support APP API");
});
app.UseAuditing();
app.UseSerilogEnrichers();
app.UseAbpSerilogEnrichers();
app.UseMvcWithDefaultRouteAndArea();
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ public override void OnApplicationInitialization(ApplicationInitializationContex
options.SwaggerEndpoint("/swagger/v1/swagger.json", "Support APP API");
});
app.UseAuditing();
app.UseSerilogEnrichers();
app.UseAbpSerilogEnrichers();
app.UseMvcWithDefaultRouteAndArea();

SeedData(context);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ public override void OnApplicationInitialization(ApplicationInitializationContex
});

app.UseAuditing();
app.UseSerilogEnrichers();
app.UseAbpSerilogEnrichers();
app.UseMvcWithDefaultRouteAndArea();
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ public override void OnApplicationInitialization(ApplicationInitializationContex

app.UseAbpRequestLocalization();
app.UseAuditing();
app.UseSerilogEnrichers();
app.UseAbpSerilogEnrichers();
app.UseMvcWithDefaultRouteAndArea();

using (var scope = context.ServiceProvider.CreateScope())
Expand Down

0 comments on commit a8e8cf2

Please sign in to comment.