Skip to content

AbhijitSinha1/Clapboard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Clapboard

Clapboard: A simple utility to enhance the log information sent out in the application. The logger is initialized as

const Logger = require ('clapboard');
const Log = new Logger ();

and used as

Log.info ('this is an info');
Log.warn ('this is a warning');
Log.error ('this is an error');

the output is as follows:

index.js 16:5 | 01/02/2020 11:42:04.429 | this is an info
index.js 17:5 | 01/02/2020 11:42:04.457 | this is a warning
index.js 18:5 | 01/02/2020 11:42:04.460 | this is an error

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published