This PR adds a "mock" mode to Logger, specifically useful for unit testing (see CUTS in the Callsystems RFC). It also introduces some fixes and other miscellaneous changes, i.e. Logger will now call the appropriate log function (console.log, console.error, etc.) based on the log level specified.
Description
This PR adds a "mock" mode to Logger, specifically useful for unit testing (see CUTS in the Callsystems RFC). It also introduces some fixes and other miscellaneous changes, i.e. Logger will now call the appropriate log function (
console.log
,console.error
, etc.) based on the log level specified.