Deep dive into Asp.Net Core logger.BeginScope()
5.7 هزار بار بازدید -
3 سال پیش
-
If you want to support
If you want to support this channel, here's a link to my GitHub Sponsors profile: https://github.com/sponsors/danpdc
As we have showed in a previous video, logger scopes are very powerful in #AspNetCore as they allow you to add a lot of contextual data to your logs in a structured format. But how do these scopes work? Can we mess them up? Are they thread safe? In this video we'll look under the hood of logger scopes and try to answer all these questions.
#DotNetCore #DotNet
Video on logger scopes: Never underestimate ILogger scopes!
Chapters
1. Intro: 00:00
2. Explaining the setup: 01:21
3. Taking a first look at scope behavior: 03:55
4. Understanding scope state: 06:16
5. Understanding nested scopes and precedence: 10:55
6. Async, thread safety and async local: 17:06
As we have showed in a previous video, logger scopes are very powerful in #AspNetCore as they allow you to add a lot of contextual data to your logs in a structured format. But how do these scopes work? Can we mess them up? Are they thread safe? In this video we'll look under the hood of logger scopes and try to answer all these questions.
#DotNetCore #DotNet
Video on logger scopes: Never underestimate ILogger scopes!
Chapters
1. Intro: 00:00
2. Explaining the setup: 01:21
3. Taking a first look at scope behavior: 03:55
4. Understanding scope state: 06:16
5. Understanding nested scopes and precedence: 10:55
6. Async, thread safety and async local: 17:06
3 سال پیش
در تاریخ 1400/10/27 منتشر شده
است.
5,705
بـار بازدید شده