Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
xsoheilalizadeh committed Jan 17, 2020
1 parent ffe92e0 commit f6167d7
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ raccoonLog is a logging library that supports HTTP request/response logging in *
- Use `System.Text.Json` as JSON API
- Use `System.IO.Pipelines` as I/O API
- Easy to configure
- File data store
- Custom data store

### Packages

Expand All @@ -25,6 +27,7 @@ raccoonLog is a logging library that supports HTTP request/response logging in *


### Quick Start

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

_Learn more in [documentation][doc]_
Expand All @@ -34,7 +37,8 @@ public void ConfigureServices(IServiceCollection services)
{
services.AddRaccoonLog(builder =>
{
builder.AddHttpLogging();
builder.AddHttpLogging()
.AddFileStore();
});
}

Expand All @@ -44,14 +48,7 @@ public void Configure(IApplicationBuilder app, IHostingEnvironment env)
{
builder.EnableHttpLogging();
});
app.UseMvc(routes =>
{
routes.MapRoute(
name: "default",
template: "{controller=Home}/{action=Index}/{id?}");
});
}

```

### Blogs
Expand Down

0 comments on commit f6167d7

Please sign in to comment.