Dead simple logger for shasta
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
dist
src
test
.gitignore
.travis.yml
LICENSE
README.md
package.json

README.md

shasta-logger NPM version Downloads Build Status

Install

npm install shasta-logger

Considerations

  • Logging is done using console.debug
  • There is no configuration, this is by design.

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
  ]
})