0.1.1 • Published 7 years ago

tractor-logger v0.1.1

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

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;