Created a struct to hold log config and maintain a list of config entries per module.
For now all entries use the values of default log-config.
Defined a debug macro to add debug print statements
Changed the log interface to register with the logging module to obtain a log handle.
This log handle is then used when calling the logging module. It's used for looking up the module specific logging config.
Changed the code to use the new logging interface.
The modules now register with the logging module and then use the handle when calling the log method.