from icecream import ic
def log_msg(log, msg: str):
"""Log and pretty-print the given message
`log` is assumed to be one of the OpenCog loggers.
"""
log.info(msg)
ic(msg)
Welcome to pear-git
You're signed in. Pick a display name and optionally a profile picture so other peers can recognize you. You can change this anytime in /profile.