May 23, 2023, 7:10 p.m. | Fabrizio Bagalà

DEV Community dev.to

Logging is an essential component for software development and maintenance. It helps us understand what is happening inside our applications, identify errors and unexpected behaviors, troubleshoot problems, and is also useful for auditing operations.





🗂️ Create logs


In ASP.NET Core, logging is typically performed by obtaining an ILogger or ILogger<T> instance through dependency injection, and then using that instance to log messages.


Here is a step-by-step guide on how to set up and use logging:


1️⃣ Configure logging in appsettings.json …

applications asp asp.net core auditing coding csharp dependency development dotnet errors identify injection instance logging logging in logs .net operations problems programming software software development understand what is

Cybersecurity Consultant

@ Devoteam | Cité Mahrajène, Tunisia

GTI Manager of Cybersecurity Operations

@ Grant Thornton | Phoenix, AZ, United States

(Senior) Director of Information Governance, Risk, and Compliance

@ SIXT | Munich, Germany

Information System Security Engineer

@ Space Dynamics Laboratory | North Logan, UT

Intelligence Specialist (Threat/DCO) - Level 3

@ Constellation Technologies | Fort Meade, MD

Cybersecurity GRC Specialist (On-site)

@ EnerSys | Reading, PA, US, 19605