0.1.1 • Published 7 years ago
tractor-logger v0.1.1
tractor-logger
A general logger for tractor.
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;