Skip to content

VQComms/TracingMiddleware

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TracingMiddleware

Enable tracing to log entries in the ASP.Net Core pipeline.

Keys/Types can be included/ignored.

Log format, type format, log action can be globally set whilst type format and log actions can be set individually for each type and key.

Enables granular pipeline logging.

Default Usage

public void Configuration(IApplicationBuilder app)
{
  var defaultOptions = TracingMiddlewareOptions.Default;
  
   app.UseTracingMiddleware(defaultOptions);
   app.UseOwin(x => x.UseNancy());
}

The above produces:

Default Output

Custom Usage

For custom usage take a look at the demo app here

About

Add tracing to your ASP.Net Core pipeline

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages