Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 624 Bytes

File metadata and controls

23 lines (16 loc) · 624 Bytes

Node logger

Wrapper for winston

Usage

// cjs const logger = require('@spotlightdata/node-logger').default
import logger from '@spotlightdata/node-logger';

logger.error('Unknown error occurred handling task.');
logger.log('info', 'Hello distributed log files!');
logger.info('Hello again distributed logs');

Development

  • Install packages using yarn install
  • Start in development mode by using yarn dev
  • Finally build with yarn build
  • Run tests using yarn test

All versions will automatically be deployed using travis when tagged on master.