def log_info(infomsg):
    """
    Prints any generic debugging/informative info that should appear in the log.

    infomsg: (string) The message to be logged.
    """
    try:
        infomsg = str(infomsg)
    except Exception as e:
        infomsg = str(e)
    for line in infomsg.splitlines():
        log.msg(line % '[..] %s')
dataset/ETHPy150Open evennia/evennia/evennia/utils/logger.py/log_info/swapped operands of `%`