Skip to content
This repository has been archived by the owner on Jun 2, 2022. It is now read-only.
/ sdk Public archive

A browser JavaScript client for Logary or any other HTTP server you wish to send to.

License

Notifications You must be signed in to change notification settings

causiq/sdk

Repository files navigation

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

About

A browser JavaScript client for Logary or any other HTTP server you wish to send to.

Resources

License

Stars

Watchers

Forks

Packages

No packages published