structlog-ui/README.md

17 lines
425 B
Markdown

## Usage
`yarn`
`mkdir src/logs/`
Then two options:
* get a sample log sample can be found [here](https://drive.google.com/file/d/1uwCii2hbfDfsc52bN2_p0gGAkcetcf2r/view?usp=sharing)
* generate your own
* run in application with `DEBUGLOGS=true` and this will generate a `structlog-embark.json` file
* run `node log_script.js` which will generate a `logs.json` file
copy `logs.json` file to `src/logs/`
`yarn start`