import logging


def get_log_file(log_handler) -> str:
    """
    Get log file

    :param log_handler: Logger object

    :return log_file: Full path of log file
    """
    log_file = ''
    if isinstance(log_handler, logging.FileHandler):
        log_file = log_handler.baseFilename
    return log_file