Skip to content

SpotlightData/node-logger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Logger library based on winston for node.js

Resources

License

Stars

Watchers

Forks

Packages

No packages published