Skip to content

Latest commit

 

History

History
32 lines (31 loc) · 543 Bytes

README.md

File metadata and controls

32 lines (31 loc) · 543 Bytes

cb-log

A very easy console.log()

Instalation

npm i cb-log

Import

var cb_log = require("cb-log");

Usage

cb_log.log();

Displays plain text, like a console.log().

cb_log.logln();

Like cb_log.log(), but starts with \n

cb_log.logSuccess():

Displays a lightred text

cb_log.logDanger();

Displays a lightgreen text

cb_log.logInfo();

like cb_log.logSuccess(), but lightcyan color