import logging


def get_logger(*components) -> logging.Logger:
    """Get a logger under the app's hierarchy."""

    name = '.'.join(['skipscale'] + list(components))
    return logging.getLogger(name)