Winston - Logging in JavaScript & Node.js applications

preview_player
Показать описание

We cover key features such as log-levels, transports, profiling, error handling, and formatting of log entries. We also look at how to centralize your logs across services using Better Stack.

► RELATED GUIDES

► HACKING SCALE NEWSLETTER

► READ MORE

► STAY TUNED

📌 𝗖𝗵𝗮𝗽𝘁𝗲𝗿𝘀:
00:00 Intro
02:46 Winston Log Levels
03:35 Creating Winston logger
08:31 Formatting Winston log entries
11:29 Adding Custom entries to Winston log output
13:10 Creating a Child Logger object
15:26 Logging Errors with Winston
16:43 Using multiple loggers in application
22:07 Profiling in Winston
24:57 Log Centralisation with Better Stack

#javascript #nodejs #logging
Рекомендации по теме
Комментарии
Автор

Excellent video. Plenty of information, not a single second is wasted.

dhinta
Автор

honestly best explanation on winston ever thanks mate

vvish
Автор

[winston] Attempt to write logs with no transports, which can increase memory usage: {"message":"Hello from menuLogger", "level":"info"} I am getting this error while creating using .add() and .get() Methods

KrishKithani