shasta-logger
v2.0.0
Published
Dead simple logger for shasta
Downloads
5
Readme
shasta-logger
Install
npm install shasta-logger
Considerations
- Logging is done using
console.debug
- There is no configuration, this is by design.
- If you want more granular configuration, use redux-logger
Example
Use the logger function as middleware in your store.
ES6
import { createStore } from 'shasta'
import logger from 'shasta-logger'
// you get the point
let store = createStore({
plugins: [
otherStuff,
logger
]
})