© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•15mo ago•
8 replies
lunar

Looking for a logging solution

I'm trying to figure out how to log my SQL or database commands into a configurable JSON file. This is for a school assignment, Ive tried adding events to each query, I don't fully understand it still

this is the main criteria: Database commands shall be logged. The log file location shall be configurable in a manner similar to the database connection string. The log shall be in JSON format:
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

Similar Threads

Looking for a logging solution
C#CC# / help
17mo ago
Looking for a mentor
C#CC# / help
15mo ago
✅ Looking for a developer
C#CC# / help
16mo ago
✅ Looking for a expert
C#CC# / help
17mo ago