In this tutorial we are going to use logging library, winston for application logs. in this tutorial we are going to practice how we can set different log levels with winston, and also we will see how we can print logs both to console and files. And we will set custom format for log output.

We will also use this logger for sequelize logs too.

The repo for this tutorial can be found here https://github.com/basarbk/express-sequelize

Like, subscribe, comment any interaction with my channel, means a lot. Thanks

About me:
My name is Basar Buyukkahraman. I’ve courses for Spring Boot, React, Node.js, Web Components and Svelte in udemy.
Test Driven Web Development with Spring & React - https://www.udemy.com/course/test-driven-web-application-development-with-spring-react/?referralCode=5EE4FA2E84E78941F649

Test Driven Development with Node.js https://www.udemy.com/course/test-driven-development-with-nodejs/?referralCode=1B1CABF824A0B4E219C3

Git - Step by Step Guide https://www.udemy.com/course/git-step-by-step-guide/?referralCode=867497500A81744DB8D7

Fundamentals of Web Components - https://www.udemy.com/course/fundamentals-of-web-components/?referralCode=17C3F71DCED81A80F000

Svelte with Test Driven Development - https://www.udemy.com/course/svelte-with-test-driven-development/?referralCode=80F40345902091FD9B5B

Vue with Test Driven Development - https://www.udemy.com/course/vue-with-test-driven-development/?referralCode=19F938AEDA8D2BA1D942

#express #node #winston

Logger in Node Js Express Application
6.25 GEEK