@tractor/logger
A general logger for tractor.
API
error (...args: Array<string>) => void
Logs errors to the console. Passes through to npmlog.error
.
import { error } from '@tractor/logger';
error('error');
info (...args: Array<string>) => void
Logs information to the console. Passes through to npmlog.info
.
import { info } from '@tractor/logger';
info('info');
warn (...args: Array<string>) => void
Logs information to the console. Passes through to npmlog.warn
.
import { warn } from '@tractor/logger';
warn('warn');