@fdebijl/clog
v1.169.0
Published
My personal stdout logger π
Downloads
770
Readme
Clog Logging utility
Simple logging utility for reuse in my personal projects. View on NPM.
Installation:
npm install -S @fdebijl/clog
Usage:
TS:
import { Clog, LOGLEVEL } from '@fdebijl/clog';
const clog = new Clog(LOGLEVEL.WARN);
clog.log('This is an error', LOGLEVEL.ERROR);
JS:
const { Clog, LOGLEVEL } = require('@fdebijl/clog');
const clog = new Clog(LOGLEVEL.WARN);
clog.log('This is an error', LOGLEVEL.ERROR);