{"repo":"nanostores/logger","free":true,"listed":false,"github":"https://github.com/nanostores/logger","clone":"git clone https://github.com/nanostores/logger.git","description":"Pretty logger of lifecycles and changes for Nano Stores state manager","language":"JavaScript","stars":95,"topics":["devtools","logger","nanostores"],"license":"MIT","category":"dev-tools","readme_excerpt":"Nano Stores Logger Logger of lifecycles, changes and actions for [Nano Stores] , a tiny state manager with many atomic tree-shakable stores. Clean. All messages are stacked in compact, collapsible nested groups. Descriptive. Detailed descriptions with a clear comparison of the old and new values. Pretty designed. Compact logo and color badges for quick reading. Flexible. Ability to disable and filter certain types of messages. Supports all types of stores : Atom, Map and Deep Map. [Nano Stores]: https://github.com/nanostores/nanostores/ Install Usage Filter messages Disable specific types of logs Using messages option you can disable mount , unmount , change or action log messages. Disable logs of actions with a specific name Using the ignoreActions option, you can specify the names of actions that will not be logged. Actions Wrap store changes in action() to see action names in the logger. Works with map() stores via $store.setKey() . Supports async callbacks — the logger will track start, end and errors automatically. Custom messages You can create custom log messages and collapsible nested groups of messages with your own name and badge color or with any predefined types. Available types: action , arguments , build , change , error , mount , new , old , unmount , value . Advanced usage Logging map creators With creatorLogger you can log map creators such as Logux’s SyncMapTemplate. Building devtools If you need to create you own devtools or an extension for you devtools we","default_branch":null,"files":null,"tree":[],"storefront":"/r/nanostores","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/nanostores/logger/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}