shasta-logger

2.0.0 • Public • Published

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

/shasta-logger/

    Package Sidebar

    Install

    npm i shasta-logger

    Weekly Downloads

    5

    Version

    2.0.0

    License

    MIT

    Last publish

    Collaborators

    • fractal
    • yocontra