From fad37e577d4fb6f0ff976fba46c40647d8e5a7f5 Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Thu, 27 Jul 2017 15:44:15 -0700 Subject: mpm: Clarified use of get_logger() call --- mpm/python/usrp_mpm/mpmlog.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'mpm') 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: ") -- cgit v1.2.3