Skip to content

Latest commit

 

History

15 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wsServerLogs

Websockets loger, listen to messages and then logs the in console. Used mostly as a remote debuging tool.

How to Use

-Clone the project.

-Do a npm install inside the project folder on a terminal

-Open the file index.js and chage the port value as desired.

-Now go to the snipet.js and edit the WS_CLIENT_ADDRESS and replace the value with the machine ip address, and the same port value you use in the index.js file

-On the terminal execute the command npm run server this will start your server application and start listenig for websocket connections.

-Now you can copy the method from the snipet.js file and paste it on yout code to send messages to the server.

-All messages will appear at the terminal screen where the server app is running.

-To filter the logs output just run npm run server fliter1,filter2,filter3 and then only logs with those filters on it will be shown

About

Websockets loger, listen to messages and then logs in to console.

Resources

Stars

1 star

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages