0.0.3 • Published 4 years ago

@pliancy/logger v0.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

logger

A wrapper for the Winston logger that optionally accepts contextual metadata in the constructor.

Install

# Yarn
yarn add @pliancy/logger

# npm
npm i @pliancy/logger

Usage

const logger = new Logger('MyService', { target: 'someId', actor: 'someOtherId' })
logger.info('Revelry and awe are afoot')

Test

yarn test
# or
yarn test.watch

Test Coverage

yarn test.cov
# then
yarn cov.view
0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago

0.0.0

4 years ago