@fdebijl/clog
TypeScript icon, indicating that this package has built-in type declarations

1.165.0ย โ€ขย Publicย โ€ขย Published

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

Dependencies (0)

    Dev Dependencies (18)

    Package Sidebar

    Install

    npm i @fdebijl/clog

    Weekly Downloads

    356

    Version

    1.165.0

    License

    MIT

    Unpacked Size

    10.9 kB

    Total Files

    11

    Last publish

    Collaborators

    • fdebijl