Skip to content

Latest commit

 

History

History

nightingale-level-names

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

nightingale-level-names

Nightingale level values to level names

Install

npm install --save nightingale-level-names

Usage

import Level from "nightingale-Levels";
import levelNames from "nightingale-level-names";

console.log(levelNames.get(Level.TRACE));
console.log(levelNames.get(Level.DEBUG));
console.log(levelNames.get(Level.INFO));
console.log(levelNames.get(Level.WARN));
console.log(levelNames.get(Level.ERROR));
console.log(levelNames.get(Level.CRITICAL));
console.log(levelNames.get(Level.FATAL));
console.log(levelNames.get(Level.ALERT));
console.log(levelNames.get(Level.EMERGENCY));