Skip to content

Debugging and logging extensions for AspNetCore (2.2 & 3.0)

License

Notifications You must be signed in to change notification settings

PeakyCoders/Peaky.AspNetCore

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Peaky.AspNetCore

Peaky.AspNetCore.Debugging

Recommended usage

  1. Install the NuGet in your ASP.NET Core project
  2. In your Startup class, inside ConfigureServices() method, call services.ConfigureDebugLogging(); (optionally, inside an #if DEBUG conditional block)
  3. In your Startup class, inside Configure() method, call app.UseDebugLogging();
public void ConfigureServices(IServiceCollection services)
{
    #if DEBUG
    services.ConfigureDebugLogging();
    #endif
}

public void Configure(IApplicationBuilder app, IHostingEnvironment env)
{
    #if DEBUG
    app.UseDebugLogging();
    #endif
}

About

Debugging and logging extensions for AspNetCore (2.2 & 3.0)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages