简体   繁体   中英

Viewing Serilog logs on Asp.Net MVC

I'm using Serilog in my Asp.Net MVC project. (If it matters, I'm using the SQL Server Sink).

Previously, I installed StackExchange.Exceptional, and its near so easy to use as Serilog, but it have with a great feature: We can access the logs via web interface, accessing an "exceptions.axd" configured via web.config.

I see Serilog is a "low level logger", it can be used in web, desktop, consoles, etc... then obviously it doesnt comes with this ".axd" function.

There is some Serilog extension, or project with a simple axd handler like this, where we can install and just works like in StackExchange.Exceptional?

I've implemented a simple log viewer for Serilog and SQLServer sink. It will come in handy if you are using ASP.NET Core.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM