@classmethod
def log_producer(cls, params, *, also_print=False, print_file=None):
    name = cls.__tablename__
    log.info('%s.name: %s', name, params['name'])
    log.info('%s.version: %s', name, params['version'])
    if (also_print or (print_file is not None)):
        print(f"{name}.name: {params['name']}", file=print_file)
        print(f"{name}.version: {params['version']}", file=print_file)
@classmethod
def log_producer(cls, params, *, also_print=False, print_file=None):
    name = cls.__tablename__
    log.info('%s.name: %s', name, params['name'])
    log.info('%s.version: %s', name, params['version'])
    if (also_print or (print_file is not None)):
        print(f"{name}.name: {params['name']}", file=print_file)
        print(f"{name}.version: {params['version']}", file=print_file)