a better logging and debugging system using the loglevels to control the amount of debug when developing versus production runs