@tractor/logger
TypeScript icon, indicating that this package has built-in type declarations

1.9.4-tractor-to-playwright.0 • Public • Published

@tractor/logger

A general logger for tractor.

npm version

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;

Readme

Keywords

none

Package Sidebar

Install

npm i @tractor/logger

Weekly Downloads

6

Version

1.9.4-tractor-to-playwright.0

License

MIT

Unpacked Size

6.73 kB

Total Files

7

Last publish

Collaborators

  • phenomnomnominal
  • trbpro23
  • amy.rowell
  • mzollner
  • deemicksee
  • cgrant_tm
  • savage-tm