8000 GitHub - kitofr/sdk: A browser JavaScript client for Logary or any other HTTP server you wish to send to.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
/ sdk Public
forked from causiq/sdk

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

kitofr/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

Languages

  • TypeScript 94.6%
  • JavaScript 4.7%
  • Makefile 0.7%
0