def visit_module(self, node):  
<EOL>self._logging_names = set()<EOL>logging_mods = self.config.logging_modules<EOL>self._format_style = self.config.logging_format_style<EOL>self._logging_modules = set(logging_mods)<EOL>self._from_imports = {}<EOL>for logging_mod in logging_mods:<EOL><INDENT>parts = logging_mod.rsplit("<STR_LIT:.>", <NUM_LIT:1>)<EOL>if len(parts) > <NUM_LIT:1>:<EOL><INDENT>self._from_imports[parts[<NUM_LIT:0>]] = parts[<NUM_LIT:1>]<EOL><DEDENT><DEDENT>
Clears any state left in this checker from last module checked.