© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•2y ago•
136 replies
hutonahill

✅ using Logging with ASP.NET

ASP.NET has a logging service. It looks way better than mine. I believe it gets set up here:

builder.Logging.ClearProviders();
builder.Logging.AddConsole();
builder.Logging.AddDebug();
builder.Logging.ClearProviders();
builder.Logging.AddConsole();
builder.Logging.AddDebug();


Where can i find/modify this method? How can i trigger my own logs?
image.png
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements
Next page

Similar Threads

ASP.NET endpoint logging
C#CC# / help
2y ago
Logging in ASP.NET
C#CC# / help
2y ago
ASP.Net suppress error logging
C#CC# / help
13mo ago
Asp.net (.net461, global.asax)
C#CC# / help
15mo ago