npm.io
0.2.1 • Published 10 years ago

start-pretty-logger

Licence
MIT
Version
0.2.1
Deps
3
Vulns
0
Weekly
0
Stars
2
DeprecatedThis package is deprecated

npm travis coverage deps gitter

Pretty logger for Start.

  • colors
  • decamelized task names
  • short relative paths
  • clean stack traces

screenshot

Install

npm i -S start-pretty-logger

Usage

import start from 'start';
import logger from 'start-pretty-logger';
import files from 'start-files';
import clean from 'start-clean';
import babel from 'start-babel';
import write from 'start-write';

export function build() {
    return start(logger())(
        files('build/'),
        clean(),
        files('lib/**/*.js'),
        babel(),
        write('build/')
    );
}

See documentation for details.

Arguments

logger(options)

  • options – logger options, { mute: [] } by default
    • mute – array of task names to mute any output

Keywords