summary refs log blame commit diff stats
path: root/code/debug.py
blob: 12d5d65408213676b1d1a716c37c434592518fcc (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12











                                
# a module to faciliate debuggin

LOGFILE = '/tmp/errorlog'

def log(txt):
	f = open(LOGFILE, 'a')
	f.write("r1: ")
	f.write(str(txt))
	f.write("\n")
	f.close()