Logging in .NET Core 3.0 and Beyond - Configuration, Setup, and More

IAmTimCorey
IAmTimCorey
155.3 هزار بار بازدید - 5 سال پیش - Did you know that .NET
Did you know that .NET Core has logging built right into it? Do you know how to configure it or how it works? In this video, we are going to look at how logging works in .NET Core and how to make it even better. This video was built on .NET Core 3.0 but it will work in both older and newer versions of .NET Core.

Source Code: https://leadmagnets.app/?Resource=Log...

Newsletter signup (with exclusive discounts, giveaways, and more):  https://signup.iamtimcorey.com/

0:00 - Intro
1:20 - Getting started: ASP .NET Core 3.0 demo application
3:37 - ILogger in .NET Core application: where and how it is configured
8:46 - ILogger configuration: Basic overview
19:24 - ILogger configuration: Loggers
21:35 - ILogger configuration: Implementation
26:12 - Log Levels explained
32:34 - Additional information in Log message: variables in the log message
36:26 - Exceptions in Log messages
38:51 - Logging configuration: appsettings.json
47:06 - ILogger factory: custom log category
50:36 - Logging the start of the application
52:53 - Concluding remarks
5 سال پیش در تاریخ 1398/06/04 منتشر شده است.
155,355 بـار بازدید شده
... بیشتر