Logging mechanism in NET is incredibly simple and effective. Did you know you could create your own logger and implement it to existing applications. In this video, we'll be creating a Rolling File Logger together.
Пікірлер: 5
@alper3373 ай бұрын
Very informative video 😊 thanks.
@bilalyldz89303 ай бұрын
Gold :)
@suskun6123 ай бұрын
Elinize sağlık yeni başlayan arkadaşlar içinde çok güzel örnek. Kütüphane import et register et yolla yapmaktansa mantığı da bilmek önemli.
@marcelotieghi936Ай бұрын
Great video! I'm new to this and a bit confused about logging in .NET. I understand it's a good idea to use logs to track all activities in the application. But is it advisable to use logging in every method? Or just in complex methods? For instance, when adding an entity to the database, it typically goes through the controller, service, and repository layers. Should I implement logging throughout this traffic? Also, a suggestion for a video would be demonstrating logs to be sent via email.
@TechBuddyENАй бұрын
There is Level feature of logging so any logging could have a category. It could be trace(almost everything), debug, information, warning, error or critical. So the information that you wanna log should have the corresponding level. You want to log the info only make sense and also you want to categorise them.