Getting started with Pino logger - NodeJS Express | How to use Pino

Поділитися
Вставка
  • Опубліковано 8 січ 2025

КОМЕНТАРІ • 37

  • @nagyszabolcs9451
    @nagyszabolcs9451 2 роки тому +4

    Loved this! Straight to the point and very helpful. Thank you!

  • @joepage3065
    @joepage3065 2 роки тому +1

    Thanks for a clear and concise demo.

  • @souravdhar47
    @souravdhar47 2 роки тому +2

    really simply explained mate...thank you😊

  • @pedroapfilho
    @pedroapfilho 3 роки тому +2

    That is super helpful! Thanks for the video!

    • @richardbray
      @richardbray  3 роки тому

      Thanks, glad you found it helpful 👍

  • @viktorlernt6063
    @viktorlernt6063 Рік тому

    Thank you very much, a very helpfull "Getting started"!

  • @lautarolopez334
    @lautarolopez334 Рік тому

    You explained it really simple, thanks!

    • @richardbray
      @richardbray  Рік тому +1

      Thanks. I'm glad you liked my explanation.

  • @cristianfz16
    @cristianfz16 3 роки тому +3

    The documentation seems too complicated to understand, this video helped me a lot, thankyou!

    • @richardbray
      @richardbray  3 роки тому

      Aww that's very kind of you. Thanks :)

  • @dimitrinjila4522
    @dimitrinjila4522 2 роки тому +1

    Really helped me , Thanks!

  • @oz4549
    @oz4549 2 роки тому +1

    Thank you for this.

  • @alexandervashchuk7795
    @alexandervashchuk7795 Рік тому

    How did you get terminal intellisense at 2:47 ?

    • @richardbray
      @richardbray  Рік тому

      That's a vscode extension called Error Lens

  • @selvaganeshm1914
    @selvaganeshm1914 2 роки тому

    Thanks for this. Helped a lot.

    • @richardbray
      @richardbray  2 роки тому

      Nice, I'm glad you found it helpful

  • @mjylove2
    @mjylove2 28 днів тому

    thank you so much

  • @starlingwatch3921
    @starlingwatch3921 Рік тому

    Thanks! Good video. Is there something that lets me browse Pino created logs from a browser? -Frank

    • @richardbray
      @richardbray  Рік тому

      Not to my knowledge. If you're using AWS you can do that through CloudWatch but this isn't an Pino feature.

  • @FernandoBasso
    @FernandoBasso 3 роки тому

    When we use Pino with Fastify, logging is delegated to worker threads. Does it also work like this if we use Pino with Express?

    • @richardbray
      @richardbray  3 роки тому +1

      No I don't think is logs on a worker thread in Express by default. Although the video doesn't go through using the Pino Express specific plugin github.com/pinojs/express-pino-logger

  • @Dracometeor562
    @Dracometeor562 2 роки тому +2

    how to log both on nodejs console and on text file ?

    • @richardbray
      @richardbray  2 роки тому

      This is a good question. If you're using AWS or something you get that automatically with cloudwatch but locally you might need something like this github.com/pinojs/pino-tee

    • @Dracometeor562
      @Dracometeor562 2 роки тому

      @@richardbray Hi Richard, Appreciated your help to me, thank you !!. however i have tried it and it did not behave correctly.
      i have created info.log and error.log, and tried it.
      The error log is go to error.log which is correct. however, the text for error.log is at info.log as well.
      Technically, the logs for info.log has twice, the one for error and the one for info.

    • @Dracometeor562
      @Dracometeor562 2 роки тому

      In a nutshell, here's the example:
      error.log -> TEST error
      info.log -> TEST error TEST info

  • @alii4334
    @alii4334 2 роки тому

    I installed it long time ago, I couldn't get most of it, due to the complexity of the documentation. thank you for simpyfiying it.
    I have a question Can we log info about the file name, line?

    • @richardbray
      @richardbray  2 роки тому

      Thanks for your compliments 😊
      It's a good question and not something I've looked into before. I haven't seen it in others loggers I've used so I don't know how possible it is but I'm honestly not sure 🤷

  • @naggayidaphnepearl5044
    @naggayidaphnepearl5044 2 роки тому +1

    Thank you

  • @CodingBill
    @CodingBill Рік тому

    Thanks a lot !

  • @aneesijaz
    @aneesijaz 3 роки тому

    What theme are you using with code ?

    • @richardbray
      @richardbray  3 роки тому +1

      Cobalt 2 by Wes Bos
      marketplace.visualstudio.com/items?itemName=wesbos.theme-cobalt2

  • @duyanh710
    @duyanh710 Рік тому

    I love your theme so much, can i have its name please?

    • @richardbray
      @richardbray  Рік тому +1

      I think it's Cobalt2

    • @duyanh710
      @duyanh710 Рік тому

      @@richardbray thanks for the theme

  • @puneetarora1714
    @puneetarora1714 Рік тому

    good stuff

  • @3x10.8_ms
    @3x10.8_ms 5 місяців тому

    bro u forgot debug