python logger to be called from fortran

def c_log(level, message):
    """python logger to be called from fortran"""
    c_level = level
    level = LEVELS_F2PY[c_level]
    logger.log(level, message)