def METHOD_NAME(log_path: Path, verbose: bool = False) -> logging.Logger:
    # Create logger.
    logger = logging.getLogger('packager_logger')
    logger.setLevel(logging.DEBUG)
    logger.propagate = False
    fh = logging.FileHandler(log_path, mode='w')
    fh.setLevel(logging.DEBUG)
    formatter = logging.Formatter('%(asctime)s [%(levelname)s] | %(message)s')
    fh.setFormatter(formatter)
    ch = logging.StreamHandler()
    if verbose:
        # Log to console also.
        ch.setLevel(logging.DEBUG)
    else:
        ch.setLevel(logging.INFO)
    logger.addHandler(ch)
    logger.addHandler(fh)
    logger.debug("Starting Tableau Connector Packaging Version " + __version__)
    return logger