def logging_setup(): ''' Sets up the logger format ''' # define history file histformat = '%(message)s' # format history file settings.logging_setup(hist, histfile, histformat) # ensure this function is only used once logging_setup.__code__ = (lambda: None).__code__
def logging_setup(): ''' Sets up the logger ''' # format used by the logger histformat = '%(message)s' # create the logger settings.logging_setup(hist, histfile, histformat) # ensure this function is only used once logging_setup.__code__ = (lambda: None).__code__