ASP.NET Core: Logging with log4net

Go to class
Write Review

Free Online Course: ASP.NET Core: Logging with log4net provided by LinkedIn Learning is a comprehensive online course, which lasts for 1-2 hours worth of material. The course is taught in English and is free of charge. Upon completion of the course, you can receive an e-certificate from LinkedIn Learning. ASP.NET Core: Logging with log4net is taught by Ervis Trupja.

Overview
  • Learn how to use the logging framework log4net to standardize event logging for your ASP.NET Core applications.

Syllabus
  • Introduction

    • Leverage the power of logging frameworks
    • What you should know
    1. Getting Started with Logging
    • What is a logging framework?
    • Why use a logging framework?
    • What are the common logging frameworks?
    2. Setting Up log4net in .NET Core
    • Logging levels and appender types
    • Setting up log4net in .NET Core console apps
    • Adding the log4net.config file
    • Logging to the console with colors
    • Setting up log4net in .NET Core web API apps
    • Logging to a file
    • Logging to a rolling file
    • Challenge: Setting up log4net in .NET Core MVC apps
    • Solution: Setting up log4net in .NET Core MVC apps
    • Logging to an SQL database
    3. Setting Up a Global Exception Logger
    • Setting up an exception handler middleware
    • Log all unhandled exceptions to a file
    • Log unhandled exceptions using a filter
    • Handling and logging 404s in MVC
    Conclusion
    • Continuing on with logging