Lots of useful information can be logged out to the user but that should only be provided in the debugging context. So, allow for a --debug option that will allow writes out. Have the services modules point to a reusable logging component. On init, we will tell that logging component if it should echo out the proceeding logs to the console.
Lots of useful information can be logged out to the user but that should only be provided in the debugging context. So, allow for a
--debug
option that will allow writes out. Have the services modules point to a reusable logging component. On init, we will tell that logging component if it should echo out the proceeding logs to the console.