0.0.9 • Published 6 years ago

col-log v0.0.9

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

color-logger

A simple logger which takes log-level and color as input and displays the corresponding output. Log-levels include :

  • log
  • info
  • warn
  • error

The function takes 3 parameters :

  • @params1(type: string) - log-level
  • @params2(type: string) - color
  • @params3(type: string) - text

Install :

npm install col-log

Code:

import colog from 'col-log';

colog("log","green","Hey how you doin?");
0.0.9

6 years ago

0.0.8

6 years ago

0.0.7

6 years ago

0.0.6

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago