def _get_formatter(fmt):
    """
    Args:
        fmt (str | unicode): Format specification

    Returns:
        (logging.Formatter): Associated logging formatter
    """
    fmt = _replace_and_pad(fmt, "%(timezone)s", LogManager.spec.timezone)
    return logging.Formatter(fmt)