Where to log in ASP.NET Core?
In the interest of performance, what's the best place to log errors at? For example, I could log a sql error in the controller, the repository, or lower if I had more depth. I am thinking it's best to log at the highest level, but I'm not sure. Let me know your thoughts. Thanks!
0 comments:
Post a Comment