npm.io
0.1.1 • Published 8 years ago

tractor-logger

Licence
MIT
Version
0.1.1
Deps
1
Vulns
0
Weekly
0

tractor-logger

A general logger for tractor.

Greenkeeper badge npm version bitHound Overall Score Code Climate Test Coverage

API:

error:

Logs errors to the console. Passes through to npmlog.error.

Usage:
import { error } from 'tractor-logger';
error('error'); // 🚜 tractor ERR! error
info:

Logs information to the console. Passes through to npmlog.info.

Usage:
import { info } from 'tractor-logger';
info('info'); // 🚜 tractor info info;
warn:

Logs information to the console. Passes through to npmlog.warn.

Usage:
import { warn } from 'tractor-logger';
warn('warn'); // 🚜 tractor WARN warn;