A wrapper to standardize logs
npm install @tbdc-agro-softwares/vue-plugin
## or
yarn add @tbdc-agro-softwares/vue-plugin
## or
pnpm add @tbdc-agro-softwares/vue-plugin
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'
});
🚧 Documentation in progress... (Help is needed)