Skip to content

procodeguide/ProCodeGuide.Samples.Serilog

Repository files navigation

ProCodeGuide.Samples.Serilog

Sample Source for demonstration of Serilog in ASP.NET Core

This article covers the implementation of Serilog in ASP.NET Core which provides structured logging that is easier to be read by programs. This Articel covers

Table of Contents

  1. Need for logging
  2. Requirements from good logging framework
  3. What is Structured Logging?
  4. Introduction to Serilog
  5. Introduction to Serilog Sinks
  6. Default logging in ASP.NET Core
  7. Log Levels
  8. Implement Serilog in ASP.NET Core 8.1 Install required NuGet Packages for Serilog & Sinks. 8.2 Configure Serilog in ASP.NET Core 8.3 Configure logging to file 8.4 Configure structured logging
  9. Serilog Enrichers
  10. Log Message Output Templates
  11. Log Filtering

Complete article is available at https://procodeguide.com/programming/aspnet-core-logging-with-serilog/

About

Sample Source for demonstration of Serilog in ASP.NET Core

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages