aire-console
Light-weight native console
object wrapper for grouping and enumerating colorful outputs.
Supported text colors:
red
green
yellow
blue
lightblue
magenta
cyan
gray
white
Supported text formats:
bold
italic
underline
fill
Turn off/on output
toggle
Installation
Using npm:
$ npm install --save aire-console
Using yarn:
$ yarn add aire-console
Usage
Javascript
const Console = Console;
Typescript
;
/*** each output function can take any number of arguments ***/Console;Console;// output grouping date format - https://momentjs.com// defaults to '2019-10-16T23:30:08-04:00' format if not explicitly setConsole;Console;Console;// exclude output grouping header, pass null as first argumentConsole;
/*** each output function can take any number of arguments ***/Console;Console;// output grouping date format - https://momentjs.com// defaults to '2019-10-16T23:30:08-04:00' format if not explicitly setConsole;Console;Console;// exclude output grouping header, pass null as first argumentConsole;
/*** each output function can take any number of arguments ***/Console;Console;// output grouping date format - https://momentjs.com// defaults to '2019-10-16T23:30:08-04:00' format if not explicitly setConsole;Console;Console;// exclude output grouping header, pass null as first argumentConsole;
/*** each output function can take any number of arguments ***/Console; // turn off loggingConsole; // any invocations beyond here will not be outputConsole;Console;Console;Console; // turn on loggingConsole; // resume outputConsole;