nightingale-level-names
TypeScript icon, indicating that this package has built-in type declarations

15.0.0 • Public • Published

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));

Dependencies (0)

    Dev Dependencies (1)

    Package Sidebar

    Install

    npm i nightingale-level-names

    Weekly Downloads

    21

    Version

    15.0.0

    License

    ISC

    Unpacked Size

    9.99 kB

    Total Files

    8

    Last publish

    Collaborators

    • churpeau