browser-logging-server
TypeScript icon, indicating that this package has built-in type declarations

0.0.3 • Public • Published

browser-logging-server

Listens for logs from browser-logging-client.

This is useful for retrieving Cypress UI test browser logs.

Any message sent to console.log, console.warn and console.error will also be sent to and logged by the logging server.

Server

To start the server which will listen for logs:

Run with npx

$ npx browser-logging-server
Listening for browser logs on ws://localhost:8888

Install globally

Alternatively, install globally and run directly:

yarn

$ yarn global add browser-logging-server
$ browser-logging-server
Listening for browser logs on ws://localhost:8888

npm

$ npm install --global browser-logging-server
$ browser-logging-server
Listening for browser logs on ws://localhost:8888

Client

Once the server has started, run the client. See browser-logging-client.

Publishing

Install np - https://github.com/sindresorhus/np:

yarn global add np

Run np and follow instructions.

License

MIT License.

Readme

Keywords

none

Package Sidebar

Install

npm i browser-logging-server

Weekly Downloads

0

Version

0.0.3

License

MIT

Unpacked Size

5.91 kB

Total Files

12

Last publish

Collaborators

  • pwfcurry