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

  • Loading...
  • Published on:  Sunday, August 25, 2019
  • 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=LoggingInDotNetCore
    Patreon: https://www.patreon.com/IAmTimCorey
    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
  • Source: https://youtu.be/oXNslgIXIbQ