@rafflebox-technologies-inc/rafflebox-logger-ui
TypeScript icon, indicating that this package has built-in type declarations

1.1.1-0 • Public • Published

Rafflebox Logger UI

Logger for the front end applications written in Vue 2. Uses sentry for exception handling/tracking.

Usage

npm install @rafflebox-technologies-inc/rafflebox-logger-ui

You will need to define the following environment variables:

import logger from @rafflebox-technologies-inc/rafflebox-logger-ui

const dsn = '<dns from sentry>';

initLogger(router, { dsn, environment: 'production', release: 'git-commit', tracesSampleRate: 100 });

logger.info('Hello World');

Readme

Keywords

none

Package Sidebar

Install

npm i @rafflebox-technologies-inc/rafflebox-logger-ui

Weekly Downloads

0

Version

1.1.1-0

License

MIT

Unpacked Size

7.79 kB

Total Files

8

Last publish

Collaborators

  • jamierafflebox