diff options
-rw-r--r-- | mpm/python/usrp_mpm/mpmlog.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/mpm/python/usrp_mpm/mpmlog.py b/mpm/python/usrp_mpm/mpmlog.py index b039424be..d3be67550 100644 --- a/mpm/python/usrp_mpm/mpmlog.py +++ b/mpm/python/usrp_mpm/mpmlog.py @@ -105,10 +105,13 @@ def get_main_logger(use_console=True, use_journal=False, console_color=True): return LOGGER def get_logger(child_name): - """docstring for get_logger""" + """ + Returns a child logger. Prior to calling this, get_main_logger() needs to + have been called. + """ assert LOGGER is not None return get_main_logger().getChild(child_name) - + if __name__ == "__main__": print("Testing logger: ") |