1.0.1 • Published 6 years ago

@faya/here v1.0.1

Weekly downloads
-
License
MIT
Repository
-
Last release
6 years ago

Here

nice logger

Install

yarn add @faya/here

or

npm install @faya/here

Screen Shot

npm.io

Usage

Basic

import here from '@faya/here';

here.done("DONE");
//   xxxx-xx-xx xx:xx:xx --- ✨  DONE
here.ok("OK");
//   xxxx-xx-xx xx:xx:xx --- ✅  OK

here.error("FAILED");
//   xxxx-xx-xx xx:xx:xx --- ❌  FAILED

Create custom logger

const partyPopper = here.createLogger("🎉");

partyPopper("Eureka!");
//   xxxx-xx-xx xx:xx:xx --- 🎉  Eureka!