Logging with NLog in ASP.NET

  Рет қаралды 27,687

Programming w/ Professor Sluiter

Programming w/ Professor Sluiter

Күн бұрын

Пікірлер: 39
4 жыл бұрын
Really tnks, your class, is simple and really good, 2 days searching on documents and google for understand my error, 6 minutes of your class and, voilá its working, and with an plus I understood all configurations according my studies, I create more targets according my necessity to put 1 file per day, 30 days of duration of each file and more. YOU SAVE MY BONE AND MY TIME, God bless your steps man.
@jasonh1388
@jasonh1388 3 жыл бұрын
Great tutorial Shad! More than I expected for a quick 23 min intro to NLog.
@shadsluiter
@shadsluiter 3 жыл бұрын
Glad you liked it! I would guess that you have some experience with working with nLog. Can you suggest any gaps in the presentation that viewers should look at next?
@shanky1810
@shanky1810 2 жыл бұрын
Great way to teach Nlog, thanks for the detailed explanation Prof
@cdebe73
@cdebe73 3 жыл бұрын
Very fast, clear and super useful tutorial, Shad!
@mirkoivic7489
@mirkoivic7489 2 жыл бұрын
Great lesson! Easy to understand and follow steps. Thanks!
@kneckel
@kneckel 3 жыл бұрын
I like the way you explain the process, thanks
@ScrotoTBaggins
@ScrotoTBaggins 3 жыл бұрын
I like how you kept the subject matter limited in scope by not introducing DI to the audience in this particular video. I suppose it would have detracted from the central message. Good work!
@KenzoArts
@KenzoArts 3 жыл бұрын
Great tutorial Shad! I am going to take your code and a add thread-safety logic in your Singleton class. Thanks mate
@shadsluiter
@shadsluiter 3 жыл бұрын
I would be interested to see your solution.
@atatunca4776
@atatunca4776 3 жыл бұрын
"Intentionality created an error" i laughed that part so hard :D Btw appreciate dude helped a lot.
@jianingwu691
@jianingwu691 4 жыл бұрын
Hi Shad, I succeeded in setting up the singleton NLog in my project after watching this video, very clear tutorial, good job and thanks! The problem I am facing is when I run my tests in parallel, my log files sequences are not correct. So they are not categorised based on the test case I am testing.
@shadsluiter
@shadsluiter 4 жыл бұрын
You can probably add a "tag" to each log item so that you get categories in the log. Label each item as "db" , "login", "error" etc. Sort the items with a spreadsheet or better yet, connect nLog to a product that is designed to manage log messages. Here is one such tool used in another video: kzbin.info/www/bejne/r362pKF_qc-nhbM
@TheAngpeu
@TheAngpeu 2 жыл бұрын
Perfect explanation! Thank you very much, ser! )
@sosyalmedya5685
@sosyalmedya5685 2 жыл бұрын
Mr Shad. I really liked the video. Could you please take the method of recording with the database? Thank you.
@aargomemnon
@aargomemnon 3 жыл бұрын
Great video, very time-saving, and easy to understand. How do we get to the next video?
@FabioTomasAquino
@FabioTomasAquino 4 жыл бұрын
Thanks Shad, this will help me a lot.
@Canonall
@Canonall 3 жыл бұрын
Thanks for the quality information. Would you say it is good/bd practice to save the logs to the application directory(publish directory). Thanks and much love from Germany
@shadsluiter
@shadsluiter 3 жыл бұрын
I would not recommend saving anything into the publish directory unless you want to share it with the public. Take a look at the Google "dorking" techniques for discovering unintentional data sharing. kzbin.info/www/bejne/pHXTqmObnJergZo
@rayt6867
@rayt6867 4 жыл бұрын
Hello shad, thanks for these series, can this be used in a .NET Core 3.1 Razor Pages application?
@jairzhino86
@jairzhino86 4 жыл бұрын
Thanks for the idea... 🎉🎉🎉😊😊 Good explication
@r.osorio02
@r.osorio02 3 жыл бұрын
Thank you. This video helped me to start
@shadsluiter
@shadsluiter 3 жыл бұрын
Glad I could help
@sabahussain66
@sabahussain66 3 жыл бұрын
Thank you for making this video
@hardikpatel7273
@hardikpatel7273 4 жыл бұрын
Hi Shad, This great solution. I implemented simple before i was using ${callsite} but after using singleton it not working displaying singleton class. how to over come for this issue?
@ahmadnour3825
@ahmadnour3825 2 жыл бұрын
Amazing, thank you 🌹
@davidschm2682
@davidschm2682 2 жыл бұрын
Thanks very much :D
@williamlee7810
@williamlee7810 4 жыл бұрын
This was really helpful, thanks. The second "arg" to getLogger that you pass in is a string, and it seems that if it is there you just pass it on. But eventually it turns into a Logger type. Does the string name become that type, and is it implicitly converted? Or do you cast it somehow? I'm not making my own Logger, but I'm curious.
@MrBeavis2014
@MrBeavis2014 3 жыл бұрын
Great Video, thx
@밝은내일-d6v
@밝은내일-d6v 3 жыл бұрын
thank you teacher !! it is a great lecture, could i ask something? when we use Logger Function something like Info, debug and error. Are they excute another thread? because if those functions excute same thread. it has bottleneck.. because it has cost to go hardward to write..; T _T;
@othmanmourafi3054
@othmanmourafi3054 4 жыл бұрын
Thanks Shad.
@bruceke13
@bruceke13 3 жыл бұрын
its impossible to edit te nlog.config file, it doesnt let me change anything
@sabahussain66
@sabahussain66 3 жыл бұрын
Kindly guide me with zerolog configuration
@pujithreddy308
@pujithreddy308 3 жыл бұрын
Hey I wanna create a target and rules in run time and format should be Parent |. | Commonlog.txt. Custom folder | Custom logname.txt
@47Mortuus
@47Mortuus 3 жыл бұрын
But... why use C++/Java style "GetInstance()" syntax when you have (readonly) properties in C#?
@RahulThakur_Talks
@RahulThakur_Talks 2 жыл бұрын
I subscribe it but I didnot receive any source code
@miso1995srb
@miso1995srb 3 жыл бұрын
your videos are edited well, but you don't need to do this, why not increase font it will be easier than editing
@4BeerLife
@4BeerLife 4 жыл бұрын
Thx!
WCF Rest Service Tutorial Windows Communications Foundation
18:05
Programming w/ Professor Sluiter
Рет қаралды 10 М.
The Logging Everyone Should Be Using in .NET
15:34
Nick Chapsas
Рет қаралды 81 М.
風船をキャッチしろ!🎈 Balloon catch Challenges
00:57
はじめしゃちょー(hajime)
Рет қаралды 66 МЛН
Motorbike Smashes Into Porsche! 😱
00:15
Caters Clips
Рет қаралды 23 МЛН
When mom gets home, but you're in rollerblades.
00:40
Daniel LaBelle
Рет қаралды 149 МЛН
How Structured Logging With Serilog Can Make Your Life Easier
13:36
Milan Jovanović
Рет қаралды 52 М.
New .NET 9.0 Blazor Features!
9:17
The Code Wolf
Рет қаралды 11 М.
.net Core. Удобное логирование и удобный просмотр логов.
19:06
Архитектор ПО. Александр Желнин
Рет қаралды 10 М.
Logging in WebAPI for DotNet6 (DotNet Core), using NLog.
28:18
Data Vids (Data Vids)
Рет қаралды 13 М.
C# Logging with Serilog and Seq - Structured Logging Made Easy
1:07:56
You are doing .NET logging wrong. Let's fix it
25:29
Nick Chapsas
Рет қаралды 174 М.
Exception Handling for ASP.NET Core Web API | .NET 7
29:54
Julio Casal
Рет қаралды 12 М.
風船をキャッチしろ!🎈 Balloon catch Challenges
00:57
はじめしゃちょー(hajime)
Рет қаралды 66 МЛН