blob: 1bbac5a2e355dbda4171603e7c17312f3929d022 (
plain)
1
2
3
4
5
6
7
8
9
10
|
""" utility functions (currenlty just for logging) """
import logging
def get_module_logger(mod_name):
"""
To use this, do logger = get_module_logger(__name__)
"""
logger = logging.getLogger(mod_name)
return logger
|