# TODO: add string to bin and bin to string (TOX ID) (and DHT connection?)
def log(data):
with open("logs.log", "a") as fl:
fl.write(str(data))