Licence
MIT
Version
0.1.1
Deps
1
Vulns
0
Weekly
0
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;