(fileName, mode, txt)
| 87 | |
| 88 | |
| 89 | def logTxtOutput(fileName, mode, txt): |
| 90 | todayFile = fileName+'-'+datetime.now().strftime('%Y-%b-%d')+'.txt' |
| 91 | with open(todayFile, mode) as f: |
| 92 | f.write('------\n'+txt+'\n') |
| 93 | |
| 94 | def log(filename, txt): |
| 95 | with open(filename, 'a') as f: |
nothing calls this directly
no outgoing calls
no test coverage detected