col

0.1.0 • Public • Published

col Build Status

Tiny simple colour logger

methods are:

  • col.error(msg) - red
  • col.warn(msg) - yellow
  • col.info(msg) - indented
  • col.success(msg) - just app name in green

Multiple arguments will be joined into a single message string as you would with a normal console.log().

e.g.

col.error('foo', 'bar', 'baz');
// outputs: 'MyApp ERROR: foo bar baz'

Readme

Keywords

Package Sidebar

Install

npm i col

Weekly Downloads

20

Version

0.1.0

License

none

Last publish

Collaborators

  • mattyod