11 Node Js Logger

Review

  1. 2022/04/13
  2. 2023/07/29
  3. 2023-07-29 07:43
  4. 2024-08-17

[!Summary]

  1. Winston
  2. Morgan

一、Introduction #

  1. console
  2. stdout
  3. stderr

二、日志相关组件 #

pnpm add debug supports-color@~8
{
  "scripts": {
    "dev": "export DEBUG=* &&  node index.js"
  }
}

LogTape is a logging library for JavaScript and TypeScript. It provides a simple and flexible logging system that is easy to use and easy to extend.

Reference #

  1. nodejs-logging-libraries
  2. 5 Best Node.js Logging Libraries