See logs everywhere, even in production!
npm install --save react-loggy
or if you are using yarn :
yarn add react-loggy
import React, { Component } from 'react'
import ReactLoggy from 'react-loggy'
class Example extends Component {
render() {
return (
<>
<ReactLoggy />
<SomeComponentGeneratingLogs />
</>
)
}
}
If you like this package please consider giving it a star.
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!
MIT © Farzin-Firoozi