@pnpm/logger

Logger for pnpm

Usage no npm install needed!

<script type="module">
  import pnpmLogger from 'https://cdn.skypack.dev/@pnpm/logger';
</script>

README

@pnpm/logger

Logger for pnpm

npm version Build Status

Installation

<pnpm|yarn|npm> 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 © Zoltan Kochan