Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Pluralsight

.NET 4 Logging Done Right: An Opinionated Approach Using Serilog 2

via Pluralsight

Overview

Establish great logging frameworks for apps using Serilog, get them written to database sinks (SQL Server and Elasticsearch specifically), and explore log data.

Establishing a foundational framework for logging can save hours in troubleshooting and provide valuable insights to both utilization and performance within all of your applications. In this course, .NET Logging Done Right: An Opinionated Approach Using Serilog, you will learn about 4 primary "things" (usage, performance, errors, and diagnostics) to log and how to log them. You will also learn how to globally write these log entries without needing to inject logging code everywhere in an application – so developers can focus on business logic, not logging code. Global logging will be shown with all flavors of ASP.NET, WPF applications, WCF services, and TypeScript/JavaScript applications. Lastly, you will see techniques for searching, exploring, and visualizing log entries that you will have written to both SQL Server and to Elasticsearch to gain insight into the application, its usage, and how it's performing. By the end this course, you’ll know how to create a great logging framework that will provide huge benefits to you and many other people who have a stake in your applications

Syllabus

  • Course Overview 1min
  • Goals of Good Logging / Intro to Serilog 10mins
  • Write a Global Logger as a Serilog Wrapper 32mins
  • Global Logging: ASP.NET MVC and Web Forms 44mins
  • Global Logging: ASP.NET WebAPI 34mins
  • Global Logging: JavaScript/TypeScript 40mins
  • Global Logging: WPF and WCF 35mins
  • Global Logging ASP.NET Core 49mins
  • Choosing the Right Sink to Enable Analysis 52mins

Taught by

Erik Dahl

Reviews

4.3 rating at Pluralsight based on 86 ratings

Start your review of .NET 4 Logging Done Right: An Opinionated Approach Using Serilog 2

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.