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

1.0.2 • Public • Published

TBDC logo


A wrapper to standardize logs

Install

npm install @tbdc-agro-softwares/vue-plugin
## or
yarn add @tbdc-agro-softwares/vue-plugin
## or
pnpm add @tbdc-agro-softwares/vue-plugin

Setup

You can configure the log level you to show in the console. By default, it's setup to show all levels of log, but you have the following options:

  • debug: Shows all levels
  • warning: Shows only warning and error level
  • error: Shows only error level
import { configureTbdcLogger } from '@tbdc-agro-softwares/logger';

configureTbdcLogger({
  logLevel: 'debug',  // 'debug' | 'warning' | 'error'
});

Usage

🚧 Documentation in progress... (Help is needed)

Contributors


Readme

Keywords

Package Sidebar

Install

npm i @tbdc-agro-softwares/logger

Weekly Downloads

1

Version

1.0.2

License

MIT

Unpacked Size

6.4 kB

Total Files

10

Last publish

Collaborators

  • maurooliveira