seaborn_logger/logger.py
def add_file_handler(log_file_level, log_filename, str_format=None,
                     date_format=None, formatter=None, log_filter=None):
    """
    :param log_filename:
    :param log_file_level   str of the log level to use on this file
    :param str_format:      str of the logging format
    :param date_format:     str of the date format
    :param log_restart:     bool if True the log file will be deleted first
    :param log_history:     bool if True will save another log file in a folder
                            called history with the datetime
    :param formatter:       logging.Format instance to use
    :param log_filter:      logging.filter instance to add to handler
    :return:                None
    """
    formatter = formatter or SeabornFormatter(str_format=str_format,
                                              date_format=date_format)
    mkdir_for_file(log_filename)

    handler = logging.FileHandler(log_filename)
    add_handler(log_file_level, handler, formatter, log_filter=log_filter)
def add_file_handler(log_file_level, log_filename, str_format=None,
                     date_format=None, formatter=None, log_filter=None):
    """
    :param log_filename:
    :param log_file_level   str of the log level to use on this file
    :param str_format:      str of the logging format
    :param date_format:     str of the date format
    :param log_restart:     bool if True the log file will be deleted first
    :param log_history:     bool if True will save another log file in a folder
                            called history with the datetime
    :param formatter:       logging.Format instance to use
    :param log_filter:      logging.filter instance to add to handler
    :return:                None
    """
    formatter = formatter or SeabornFormatter(str_format=str_format,
                                              date_format=date_format)
    mkdir_for_file(log_filename)

    handler = logging.FileHandler(log_filename)
    add_handler(log_file_level, handler, formatter, log_filter=log_filter)
:param log_filename:
    :param log_file_level   str of the log level to use on this file
    :param str_format:      str of the logging format
    :param date_format:     str of the date format
    :param log_restart:     bool if True the log file will be deleted first
    :param log_history:     bool if True will save another log file in a folder
                            called history with the datetime
    :param formatter:       logging.Format instance to use
    :param log_filter:      logging.filter instance to add to handler
    :return:                None