latysheff / node-sctp

SCTP userspace sockets for Node.js
MIT License
59 stars 10 forks source link

Use debug module with stdout/stderr #8

Open ibc opened 5 years ago

ibc commented 5 years ago

I always use the Node debug module as follows:

https://github.com/versatica/mediasoup/blob/v3/lib/Logger.js

It provides a constructor to set a sub-namespce (optional) and 3 methods:

Interested?

latysheff commented 5 years ago

Thanks, will look into it.