0.0.3 β€’ Published 1 year ago

pinia-plugin-logger v0.0.3

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

Pinia Actions Logger Plugin

πŸ•ΉGuide

Install

$ npm install --save pinia-plugin-logger

Usage

import { createPinia } from "pinia";
import piniaPluginLogger from "pinia-plugin-logger";

const pinia = createPinia();
const logger = piniaPluginLogger({
  activate: true, // Activate the logger
  expanded: true, // Expand the console group
  store: true, // Show the store name in the console
  timestamp: true, // Show the time of the action in the console
  errors: true, // Show error the console
  include: [], // If defined, only the actions in this list will be logged
  exclude: [], // If defined, the work of this list is excluded
});

pinia.use(logger);

export default pinia;

πŸ“¬ Recommended Commit Message

WhenCommit Message
Add functionfeat: ⚑️ Add function
Fix bugfix: 🐞 Fix bug
Refactoringrefactor: πŸ›  Refactoring
Add packagepackage: πŸ“¦ Add package
Fix readmedocs: πŸ“š Fix readme
Improvements stylestyle: πŸ‘ Improvements style

πŸ’³ License

MIT

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago

0.0.0

1 year ago