vircadia-web-sdk icon indicating copy to clipboard operation
vircadia-web-sdk copied to clipboard

Console.log's should be centralized into a Log routine

Open Misterblue opened this issue 4 years ago • 1 comments

There are "console.log"s scattered throughout the code. These should be replaced with calls to a centralized logging routine.

The centralized log routine would allow turning off diagnostic messages and potentially file or cloud message logging.

The log routine should use the common pattern of classifying messages as 'error', 'debug', 'info', etc. E.g., "Log.debug(msg)".

Misterblue avatar Oct 06 '21 18:10 Misterblue

Investigate those mentioned in Node Best Practices.

ctrlaltdavid avatar Sep 23 '22 01:09 ctrlaltdavid