.net-core-logging Questions
4
Solved
I am trying to register a generic ILogger (from Microsoft.Extensions.Logging, not from Serilog) in Unity (version 4).
I've got the following class:
public class MyClass
{
private readonly Micros...
Sanatorium asked 8/4, 2019 at 12:3
2
Solved
I am using ASP.NET Core logging abstraction for my application.
I have a list of sensitive strings that i would like to make sure is masked "*****" in the logs when sent to any sinks. (I am using ...
Humoral asked 12/2, 2018 at 18:58
3
Solved
I cannot get basice LogTrace(...) output in my application. Here's a repro:
Create a new ASP.NET Core application using Visual Studio 2017.
(Optional) comment out .UseApplicationInsights() so the...
Gauge asked 28/5, 2017 at 11:4
3
Solved
I'm creating a new app in .Net Core 3.1.
I have the database created, and now I'm working on the business logic, which is in a collection of services. Before I start to create the API or the UI (ie...
Sexuality asked 12/1, 2021 at 19:47
2
Solved
I have typical logging requirement for my asp.net core 2.x app:
use application insight in production,
console and debug logger in development env
setup some filters based on category and log l...
Toadflax asked 7/6, 2018 at 14:38
3
Are upgrading from ASP.NET Core 2.1 to ASP.NET Core 2.2 and following the official documentation guide.
Got a problem with writing the new logging configuration in Startup.cs. Specifically problem...
Coremaker asked 29/1, 2019 at 13:29
1
Solved
I try to add a logger to my console app. All configuration apply correctly, except Logging
Program.cs:
private static void Main(string[] args)
{
var services = new ServiceCollection();
Config...
Leggy asked 9/4, 2019 at 8:11
1
© 2022 - 2024 — McMap. All rights reserved.