Logging and tracing library that ships into Logary Analytics from Browser and NodeJS servers.
Extra support for ReactJS and NextJS; see packages/logary-plugin-*
— each plugin has an
README.md that aims to get you started.
See the logary
README. and then try an example.
All code in this repo is runnable both server- and client-side.
Do the above, and then:
cd examples/with-nextjs-app
yarn
yarn dev
Open http://localhost:3000 in a browser.
yarn
yarn dev
You may also want to run yarn lerna bootstrap
, yarn lerna link
if you reinstall packages,
and yarn lerna run build
if you change the packages while testing an example.
yarn lerna exec -- "yarn upgrade --latest"
Or if you get the "missing module in workspace":
yarn lerna exec -- "npx [email protected] upgrade --latest"
Then run the tests:
yarn test
yarn test:e2e
Calling make
on its own ensures all packages are fresh and link/compile properly.
make
yarn publish