def log(string):
    """ Log string to file
    """

    with open(config.LOG_FILE, "a+") as f:
        f.write("[%s] %s\n" % (timestamp(), string))
dataset/ETHPy150Open hatRiot/PeachOrchard/node/src/core/utility.py/log/original