import logging as log


class PlayoffLogger:

    @classmethod
    def setup(cls, level):
        log.basicConfig(
            level=level,
            format='%(levelname)-8s %(name)-8s %(message)s')

    @classmethod
    def get(cls, category=''):
        return log.getLogger(category)