python-print_as_module how to use by function log("name","hello") by class module = Logger("module") module.log("hello") Result [module]: hello