add_logfile()

add_logfile()#

classmethod TimedBlock.add_logfile(logfile: str = 'log.log') None[source]#

Instruct TimedBlock to log messages to the logfile.

Parameters:
logfilestr

File to log to.