1.0.0 β€’ Published 5 months ago

pinia-plugin-logger v1.0.0

Weekly downloads
-
License
MIT
Repository
-
Last release
5 months ago

🍍 Logger Plugin for Pinia

πŸ•Ή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 Feature✨ Add Feature
Fix Bug🐞 Fix Bug
Refactoring CodeπŸ›  Refactoring Code
Install PackageπŸ“¦ Install Package
Fix ReadmeπŸ“š Fix Readme
Update Version🌼 Update Version

πŸ’³ License

MIT

1.0.0

5 months ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago

0.0.0

2 years ago