ekmmeters.py
def ekm_log(logstr, priority=3):
    """ Send string to module level log

    Args:
        logstr (str): string to print.
        priority (int): priority, supports 3 (default) and 4 (special).
    """
    if priority <= ekmmeters_log_level:
        dt = datetime.datetime
        stamp = datetime.datetime.now().strftime("%Y-%m-%d %H:%M.%f")
        ekmmeters_log_func("[EKM Meter Debug Message: " + stamp + "] -> " + logstr)
    pass
def ekm_log(logstr, priority=3):
    """ Send string to module level log

    Args:
        logstr (str): string to print.
        priority (int): priority, supports 3 (default) and 4 (special).
    """
    if priority <= ekmmeters_log_level:
        dt = datetime.datetime
        stamp = datetime.datetime.now().strftime("%Y-%m-%d %H:%M.%f")
        ekmmeters_log_func("[EKM Meter Debug Message: " + stamp + "] -> " + logstr)
    pass
Send string to module level log

    Args:
        logstr (str): string to print.
        priority (int): priority, supports 3 (default) and 4 (special).