Logging - Level

Table of Contents

About

The level of a log message dictates it severity

Standard

systlog defines that the severity level should be a numeric in ascending order from most important to least important.

const levels = { 
  error: 0,
  warn: 1,
  info: 2,
  http: 3,
  verbose: 4,
  debug: 5,
  silly: 6
};

Powered by ComboStrap