react-loggy

See logs everywhere, even in production!

NPM npm npm bundle size (version) npm bundle size (version) NPM

Install

npm install --save react-loggy

or if you are using yarn :

yarn add react-loggy

Usage

import React, { Component } from 'react'

import ReactLoggy from 'react-loggy'

class Example extends Component {
  render() {
    return (
      <>
        <ReactLoggy />
        <SomeComponentGeneratingLogs />
      </>
    )
  }
}

Support

If you like this package please consider giving it a star.

Contribution

clone the project and run yarn install then run yarn start to run the main project.

then cd example and run yarn start to start the development example in order to test the component.

any PRs are welcome!

License

MIT © Farzin-Firoozi