Skip to content
This repository was archived by the owner on Jun 2, 2022. It is now read-only.

Files

Latest commit

1a98a1b · Oct 29, 2020

History

History
executable file
·
58 lines (34 loc) · 1.52 KB

README.md

File metadata and controls

executable file
·
58 lines (34 loc) · 1.52 KB

Logary JS v6-beta

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.

Getting started

See the logary README. and then try an example.

Plugins

All code in this repo is runnable both server- and client-side.

Trying an example

Do the above, and then:

cd examples/with-nextjs-app
yarn
yarn dev

Open http://localhost:3000 in a browser.

Building

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.

Upgrading deps

yarn lerna exec -- "yarn upgrade --latest"

Or if you get the "missing module in workspace":

yarn lerna exec -- "npx yarn@1.19.1 upgrade --latest"

Then run the tests:

yarn test
yarn test:e2e

Publishing

Calling make on its own ensures all packages are fresh and link/compile properly.

make
yarn publish