Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

beebee

0.0.2 • Public • Published

This is logger that logs with...

  • shortened uuid: each instance will logs with its own uuid as prefix.
  • time stamp: er... time stamp is a time stamp
  • and with some colours
const BB = require('beebee');
const b1 = new BB();
 
b1.log('I don\'t mean to be a pest.');
// kPQo3XVbU2qqJsK8bmxtjh 2018-11-09T15:59:31.472Z: I don't mean to be a pest.
 
b1.warn('But you are warned this will be annoy.');
// kPQo3XVbU2qqJsK8bmxtjh 2018-11-09T16:03:31.472Z: But you are warned I will be annoy.
 
b1.verbose('and I will to bug you again');
// kPQo3XVbU2qqJsK8bmxtjh 2018-11-09T16:15:31.472Z: and I want to bug you again
 
b1.error('when there is an error happens');
// kPQo3XVbU2qqJsK8bmxtjh 2018-11-09T16:17:31.472Z: when there is an error happen

Keywords

none

install

npm i beebee

Downloadsweekly downloads

20

version

0.0.2

license

ISC

last publish

collaborators

  • avatar
Report a vulnerability