aboutsummaryrefslogtreecommitdiffstats
path: root/mpm/python
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2017-07-27 15:44:15 -0700
committerMartin Braun <martin.braun@ettus.com>2017-12-22 15:04:00 -0800
commitfad37e577d4fb6f0ff976fba46c40647d8e5a7f5 (patch)
treef16571fa4f93f5e8f52546c59642a56d3d1aa9dd /mpm/python
parent8b4bc49764bc791aa431b7cc5c2bfc34afd5449b (diff)
downloaduhd-fad37e577d4fb6f0ff976fba46c40647d8e5a7f5.tar.gz
uhd-fad37e577d4fb6f0ff976fba46c40647d8e5a7f5.tar.bz2
uhd-fad37e577d4fb6f0ff976fba46c40647d8e5a7f5.zip
mpm: Clarified use of get_logger() call
Diffstat (limited to 'mpm/python')
-rw-r--r--mpm/python/usrp_mpm/mpmlog.py7
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: ")