
Logging in C# - .NET | Microsoft Learn
2024年7月17日 · Learn about app logging provided by the Microsoft.Extensions.Logging NuGet package in C#.
Logging in .NET and ASP.NET Core | Microsoft Learn
Learn how to use the logging framework provided by the Microsoft.Extensions.Logging NuGet package.
High-performance logging - .NET | Microsoft Learn
2024年4月11日 · Learn how to use LoggerMessage to create cacheable delegates that require fewer object allocations for high-performance logging scenarios.
Logging and tracing - .NET | Microsoft Learn
2024年9月4日 · ILogger provides the logging story for the OpenTelemetry implementation for .NET, which enables egress of logs from your application to a variety of APM systems for …
Compile-time logging source generation - .NET | Microsoft Learn
2025年6月7日 · Learn how to use the LoggerMessageAttribute and compile-time source generation for logging in .NET.
Logging providers - .NET | Microsoft Learn
2023年6月23日 · Logging providers persist logs, except for the Console provider, which only displays logs as standard output. For example, the Azure Application Insights provider stores …
Logging in .NET - Code Samples | Microsoft Learn
2023年6月23日 · In addition to an overview, there are in-depth articles discussing logging providers, compile-time logging source generation, details for implementing a custom logging …
HTTP logging in .NET and ASP.NET Core | Microsoft Learn
2025年4月25日 · HTTP logging can reduce the performance of an app, especially when logging the request and response bodies. Consider the performance impact when selecting fields to log.
Logging in C# - To a text file - Microsoft Q&A
2023年9月29日 · I am creating a console application and I understand that I need to use ILoggerFactory for logging purpose, but how can I get it to be written to a text file instead to …
Simple logging - EF Core | Microsoft Learn
2023年1月12日 · Entity Framework Core (EF Core) simple logging can be used to easily obtain logs while developing and debugging applications. This form of logging requires minimal …