The library development is in progress.
raccoonLog is a logging library that supports HTTP request/response logging in ASP.NET Core 2.2+
- Log request/response in console
- Custom form content requests logging
- Sensitive data protection in request/response (body limitation)
- Ignoring content types and headers in request/response
- Use
System.Text.Json
as JSON API - Use
System.IO.Pipelines
as I/O API - Easy to configure
- File data store
- Custom data store
Package name | Version |
---|---|
raccoonLog.Http |
Use following startup codes to configure raccoonLog in you ASP.NET Core application
Learn more in documentation
public void ConfigureServices(IServiceCollection services)
{
services.AddRaccoonLog(builder =>
{
builder.AddHttpLogging()
.AddFileStore();
});
}
public void Configure(IApplicationBuilder app, IHostingEnvironment env)
{
app.UseRaccoonLog(builder =>
{
builder.EnableHttpLogging();
});
}
This library is young, as young as me and it needs to represent more abilities as a library therefore I need your help for bugs, features, performance improvement.
Feel free to open PR/issue.