Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

col

mattyod610.1.0

Tiny simple colour logger

logging, console, colours

readme

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'

changelog

Col Changelog

16 April 2014, 0.1.0

  • Join multiple arguments into a single message string.