Added a register method to get the modules to log with the logging module.