@bpinternal/log4bot

v0.0.18
Just a Logger

Log4Bot

This package contains a Logger.

Usage

import { Logger } from '@bpinternal/log4bot'

const logger = new Logger('main', { prefix: 'MYAPP', level: 'debug' })
logger.info('I love Botpress.', { afield: '42' })

logger.attachError(new Error('Precondition Failed')).error('An error occured')

Disclaimer ⚠️

This package is published under the @bpinternal organization. All packages of this organization are meant to be used by the Botpress team internally and are not meant for our community. However, these packages were still left intentionally public for an important reason : We Love Open-Source. Therefore, if you wish to install this package feel absolutly free to do it. We strongly recomand that you tag your versions properly.

The Botpress Engineering team.

npm i @bpinternal/[email protected]

Metadata

  • MIT
  • >=16.0.0
  • Botpress, Inc.
  • released 9/26/2024

Downloads