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

Dependencies (2)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i beebee

    Weekly Downloads

    0

    Version

    0.0.2

    License

    ISC

    Unpacked Size

    1.86 kB

    Total Files

    3

    Last publish

    Collaborators

    • normanzb