def startline():
    global filopt, logfile, logfilename
    if filopt['verbosity'] > -1:
        ostr = '*** Starting log session on ' + str(datetime.today())[0:-7] + '. ***'
        logfile = open(logfilename, 'a')
        logfile.write(ostr+'\n')
dataset/ETHPy150Open franapoli/pyleaf/pyleaf/log.py/startline/original