def ekm_set_log(function_name):
    """ Set predefined or user-defined module level log output function.

    Args:
        function_name (function):  function taking 1 string returning nothing.
    """
    global ekmmeters_log_func
    ekmmeters_log_func = function_name
    pass
