Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Lite implementation of MS SQL Exception logger for ASP.Net Core (based on StackExchange.Exceptional)

License

Notifications You must be signed in to change notification settings

rootdevelop/Exceptional.Core

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Exceptional.Core

Lite implementation of MS SQL Exception logger for ASP.Net Core (based on StackExchange.Exceptional)

To implement add the following in Startup.cs:

 Exceptional.Core.ErrorStore.Setup(new SQLErrorStore("applicationname","your connection string here"));

 var globalExceptionFilter = new GlobalExceptionFilter {RollupPerServer = false};

 services.AddMvc(config =>
 {
     config.Filters.Add(globalExceptionFilter);
 });

Please note this is highly experimental and lacking a lot of features. Just a quick hack to get basic exception logging working!

Original Exception logger source: https://github.com/NickCraver/StackExchange.Exceptional

About

Lite implementation of MS SQL Exception logger for ASP.Net Core (based on StackExchange.Exceptional)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages