from typing import List
import logging


def get_all_loggers() -> List:
    """Return list of all registered loggers."""
    logger_dict = logging.root.manager.loggerDict  # type: ignore
    loggers = [logging.getLogger(name) for name in logger_dict]
    return loggers