logger - davidkhala/node-utils GitHub Wiki

Option: log4js

  • 6.x advantages much lighter: ImportCost: 194 KB
  • log4js configure as singleton, you have to take good care of global appenders by yourself.
    • No fileLogger for log4js

Options: winston

  • not to upgrade to winston 3: hard to configured to same behavior as winston 2