Skip to content

normanzb/beebee

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

13 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

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 bbWithAName = new BB('name-goes-here');
const bbWithRandomId = new BB();

bbWithAName.log('I don\'t mean to be a pest.');
// name-goes-here 2018-11-09T15:59:31.472Z: I don't mean to be a pest.

bbWithRandomId.warn('but you are warned this will be annoy.');
// kPQo3XVbU2qqJsK8bmxtjh 2018-11-09T16:03:31.472Z: but you are warned I will be annoy.

bbWithRandomId.verbose('and I will bug you again when...');
// kPQo3XVbU2qqJsK8bmxtjh 2018-11-09T16:15:31.472Z: and I will bug you again when...

bbWithRandomId.error('there is an error happens');
// kPQo3XVbU2qqJsK8bmxtjh 2018-11-09T16:17:31.472Z: there is an error happen

About

๐Ÿ๐Ÿ is a logger that ้€ผ้€ผ a lot. (้€ผ้€ผ is chinese slang for nagging, it is pronounced /bibi/)

Resources

Stars

Watchers

Forks

Packages

No packages published