mirror of
https://github.com/pnpm/pnpm.git
synced 2025-12-30 18:48:15 -05:00
* chore(scripts): typecheck-only * feat: change all configuration * feat: include pnpm/ and pnpm/test/ * chore(deps): remove unused dependency * refactor(typescript-only): use find-packages * refactor(typescript-only): refactor paths * fix: typescript-only * fix: update compile-only * fix: compile pnpm * fix: windows * fix: windows * chore: meta-updater * refactor(tsconfig): remove explicit composite * fix: path in windows * feat: don't depend on cwd --------- Co-authored-by: Zoltan Kochan <z@kochan.io>
@pnpm/logger
Logger for pnpm
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