npm.io
1.1.0 • Published 4 years ago

@artsys/loggerjs

Licence
MIT
Version
1.1.0
Deps
1
Size
4 kB
Vulns
0
Weekly
0

@artsys/loggerjs

npm (scoped) NPM

GitHub stars GitHub forks

Add an easy and aesthetically pleasing console logging for your project.

Installation

You can use the following command to install this package.

$ npm install @artsys/loggerjs

Usage

const logger = require("@artsys/loggerjs");

logger.log("Here is your log", "log");
logger.log("Here is your log");
// => [2022-02-09 10:08:36]: LOG Here is your log

// OR
logger.log("Here is your log", "error");
logger.error("Here is your log")
// => [2022-02-09 10:09:26]: ERROR Here is your log
available types
log
warn
error
debug
cmd
ready

Keywords