This function takes the following parameters:
The name to associate with the new module.
Where to store the id of the logging module.