STOP Passing State For Logging: A Practical Example of Logging Scopes
November 3, 2025
• 456 views
serilogc sharp.netserilog asp.net core 8serilog asp.netlogging frameworkserilog .net 6c#dotnetdotnet serilogserilog .net coreserilog in asp.net core web apiasp.net web apiloggingserilog seqserilog and seqserilog C#structured loggingbeginscopelogging scopeshow to use BeginScopestructured logging in C#asp.net core logging tutorialstructured logging c#.net core loggingdev leaderserilog structured dataserilog c# tutorial
We're diving deeper into logging scopes! In this video, we look at how we flip things on their head with a practical example. No longer do we pass state into methods just to log, we can use a logging scope at a higher level to achieve this more easily.
