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

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

Readme

Keywords

none

Package Sidebar

Install

npm i @fdebijl/clog

Weekly Downloads

104

Version

1.164.0

License

MIT

Unpacked Size

10.9 kB

Total Files

11

Last publish

Collaborators

  • fdebijl