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

1001.0.0 • Public • Published

@pnpm/logger

Logger for pnpm

npm version

Installation

pnpm add @pnpm/logger

Usage

@pnpm/logger is mostly just a wrapper over bole. Logging is done the same way as in bole. To listed for logs, use streamParser or create a new parser with createStreamParser().

import logger, {streamParser} from '@pnpm/logger'

logger.debug({ foo: 'bar' })

streamParser.on('data', msg => {
  // ...
})

License

MIT

Readme

Keywords

Package Sidebar

Install

npm i @pnpm/logger

Weekly Downloads

375,277

Version

1001.0.0

License

MIT

Unpacked Size

9.91 kB

Total Files

21

Last publish

Collaborators

  • pnpmuser
  • zkochan