<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def c_log(level, message):
 """python logger to be called from fortran"""

    c_level = level
    level = LEVELS_F2PY[c_level]
    logger.log(level, message)