Skip to content

The logging library for log HTTP Request/Response and store them in various data stores.

License

Notifications You must be signed in to change notification settings

xsoheilalizadeh/raccoonLog

Repository files navigation

raccoonLog 🦝

development is in progress

codecov Build Status

What is raccoonLog?

It's a HTTP logging library that represents request and response logging for ASP.NET Core applications.

Features

  • HTTP Request and Response Logging
  • Custom form content requests logging
  • Data protection (body limitation)
  • Use System.Text.Json as JSON API
  • Easy to configure
  • File data store
  • ElasticSearch data store
  • Custom data store implementation

Packages

Package name Version
raccoonLog NuGet
raccoonLog.Stores.File NuGet
raccoonLog.Stores.ElasticSearch NuGet

Quick Start

Use following startup codes to configure raccoonLog in you ASP.NET Core application

public void ConfigureServices(IServiceCollection services)
{
    services.AddHttpLogging().AddFileStore();
}

public void Configure(IApplicationBuilder app, IHostingEnvironment env)
{
   app.UseHttpLogging();
}

Documentation (soon)

Contribution

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.