@tractor/logger
v1.9.4-tractor-to-playwright.0
Published
Logging utilities for tractor
Downloads
39
Keywords
Readme
@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'); // 🚜 tractor ERR! error
info (...args: Array<string>) => void
Logs information to the console. Passes through to npmlog.info
.
import { info } from '@tractor/logger';
info('info'); // 🚜 tractor info info;
warn (...args: Array<string>) => void
Logs information to the console. Passes through to npmlog.warn
.
import { warn } from '@tractor/logger';
warn('warn'); // 🚜 tractor WARN warn;