def debug_log_template(self, record):
    """
    Return the prefix for the log message. Template for Formatter.

    Parameters
    ----------
    record :  :py:class:`logging.LogRecord`
        This is passed in from inside the :py:meth:`logging.Formatter.format`
        record.

    Returns
    -------
    str
        Log template.
    """

    reset = Style.RESET_ALL
    levelname = (
        LEVEL_COLORS.get(record.levelname)
        + Style.BRIGHT
        + '(%(levelname)1.1s)'
        + Style.RESET_ALL
        + ' '
    )
    asctime = (
        '['
        + Fore.BLACK
        + Style.DIM
        + Style.BRIGHT
        + '%(asctime)s'
        + Fore.RESET
        + Style.RESET_ALL
        + ']'
    )
    name = (
        ' '
        + Fore.WHITE
        + Style.DIM
        + Style.BRIGHT
        + '%(name)s'
        + Fore.RESET
        + Style.RESET_ALL
        + ' '
    )
    module_funcName = Fore.GREEN + Style.BRIGHT + '%(module)s.%(funcName)s()'
    lineno = (
        Fore.BLACK
        + Style.DIM
        + Style.BRIGHT
        + ':'
        + Style.RESET_ALL
        + Fore.CYAN
        + '%(lineno)d'
    )

    tpl = reset + levelname + asctime + name + module_funcName + lineno + reset

    return tpl
Return the prefix for the log message. Template for Formatter.

    Parameters
    ----------
    record :  :py:class:`logging.LogRecord`
        This is passed in from inside the :py:meth:`logging.Formatter.format`
        record.

    Returns
    -------
    str
        Log template.