Serilog 🚀 Logging in .NET 7 Made Simple & Fun

Поделиться
HTML-код
  • Опубликовано: 4 янв 2025

Комментарии • 49

  • @wandie87
    @wandie87 Год назад +16

    It'd be great to see a continuation of this video with in depth details re structured logging & best practices.

  • @mkama-u5p
    @mkama-u5p 9 месяцев назад +1

    Simple and practical guide for someone who just wants to start using simple logger. Thanks!

  • @franciscopeguero1164
    @franciscopeguero1164 Год назад +7

    Thank you for sharing this video about Serilog! It was very informative and I appreciate the clear explanations. Great job!

    • @PatrickGod
      @PatrickGod  Год назад +1

      Thanks a lot for your feedback! Glad I could help! 😊

  • @PragmaticProgramma
    @PragmaticProgramma Год назад +3

    Excellent as always & very informative / straight forward. I’ll play with it in one of my test applications. Danke!

    • @PatrickGod
      @PatrickGod  Год назад +1

      Thank you so much for your feedback! Have fun playing around with it! 😊

  • @roanzava8732
    @roanzava8732 Год назад +1

    Thanks Patrick

  • @mgame8082
    @mgame8082 Год назад +4

    In 'Get' method, why did you use static logger 'Log' instead of 'ILogger' property that you injected?!

  • @metodispandjev
    @metodispandjev 8 месяцев назад

    Nice video. I was actually looking for DB logging. You should add that.

  • @rmsoft
    @rmsoft Год назад

    Good start.

  • @millstj
    @millstj Год назад

    Thanks Patrick. Good stuff!

  • @SarthakPradhan-o3i
    @SarthakPradhan-o3i 11 месяцев назад +1

    Very Useful and Informative.

  • @honeylemonteayum
    @honeylemonteayum 8 месяцев назад +1

    thank you for this video

  • @Glockodile
    @Glockodile Год назад +1

    Can you show how to do this with DI instead of a static class?

  • @JamesPage-g5z
    @JamesPage-g5z Год назад

    Great job. I'd like to see implementation with setting the logs into a database and the best practices for that.

  • @senriofthealexis3998
    @senriofthealexis3998 Год назад

    Very concise video Patrick, thanks for sharing. Would love to see more of this!

  • @jamalhussayn
    @jamalhussayn Год назад

    Thank you so much for this tutorial. :)

  • @pyoneeisan6682
    @pyoneeisan6682 Год назад

    Very Useful And Great Video. Thank you

  • @clebersondot-net
    @clebersondot-net 5 месяцев назад

    i liked it, thanks!

  • @pouyalariyan125
    @pouyalariyan125 11 месяцев назад

    you save my time . grate

  • @Dcaverman11
    @Dcaverman11 Год назад

    Would love to see a video on using Serilog in an Azure App Service or Function App and logging to blob storage or blob table.

  • @raphaelcordeiro4798
    @raphaelcordeiro4798 9 месяцев назад

    Thank you

  • @TambaComb
    @TambaComb 11 месяцев назад +1

    Thanks a lot of.

  • @adnenbenawicha5082
    @adnenbenawicha5082 8 месяцев назад

    is it possible to use serilog with MultiTenancy, because i want to log to diffrent database depending the scope of the request ?

  • @naazeri
    @naazeri Год назад

    that's very nice. thank you 😘😘❤❤

  • @prosedox
    @prosedox Год назад

    I need a video which you show logging to db with optimised memory performance

  • @mesutdemirci7933
    @mesutdemirci7933 Год назад

    Thank you for sharing this video..
    Can we write records to table colons in database?

  • @rumeshbandara3840
    @rumeshbandara3840 5 месяцев назад

    thanks

  • @CreativeAvnesh
    @CreativeAvnesh Год назад

    can you make a vedio using mysql databse and create auto log table

  • @jvanwong
    @jvanwong Год назад

    Thanks Patrick, this is great video. Would like to know is that possible for serilog to configure/control the log file size? For example if the log file size more than 10 mb then create a new log file

  • @kylenic33
    @kylenic33 Год назад

    Why are you using the concrete implementation of serilog and not via ILogger interface?

  • @spmaurya1318
    @spmaurya1318 Год назад

    Pretty useful

  • @emreseles
    @emreseles Год назад

    how can i know the who did this process in serilog

  • @r376533
    @r376533 Год назад

    Hello
    I'm new for .net 7,I have some question
    if i have some static class function,maybe in model/Hello.cs. serilog still can write log??
    thank a lot!!

  • @georgicholakov8140
    @georgicholakov8140 Год назад

    Hi, how we can do a conditional logging of the request and response with Serilog only if the status code is > 399 for example? Can I achieve this only with this serilog http middleware or do I need additional middleware for this?

  • @dotnetcoder7809
    @dotnetcoder7809 Год назад

    Very good video

  • @webfax4146
    @webfax4146 Год назад

    Thanks Patrick, great video - could you show an example where the logs can be stored in Azure please?

  • @iykeypat
    @iykeypat Год назад +1

    Please Mr. Patrick, I want to ask, would the logging still work after I deploy the application on IIS? or is it only for development environment?

  • @alexandersantosablaza7033
    @alexandersantosablaza7033 8 месяцев назад

    how to stop serilog writing if disk is full

  • @iykeypat
    @iykeypat Год назад

    Hello everyone, logging to file with Serilog doesn't work after I deploy to IIS...any suggestions on a fix?

  • @minimalstory
    @minimalstory Год назад

    Вы неверно вызываете логгер, это плохая практика

    • @madoha8641
      @madoha8641 Год назад

      а как лучше будет

    • @minimalstory
      @minimalstory Год назад

      @@madoha8641 если хотите оставьте почту я вам скину как это делается в моём олкружении... ноу впатрика я часто вижу то, что нельзя делать в реальных проектах.