# Path: resources/lib/utils.py
# def log(self, msg, level=xbmc.LOGDEBUG):
#     """
#     Log a message
#     """
#     self._log('{}: {}'.format(self.__class__.__name__, msg), level)


from resources.lib.utils import log

class TestLoggerWithNoArgs(object):
    def __init__(self, logger_1):
        self.log = logger_1
    @log
    def to_be_logged(self):
        return None

class TestLoggerWithArgs(object):
    def __init__(self, logger_2):
        self.log = logger_2

# Path: resources/lib/utils.py
# def log(self, msg, level=xbmc.LOGDEBUG):
#     """
#     Log a message
#     """
#     self._log('{}: {}'.format(self.__class__.__name__, msg), level)


# Path: resources/test/mocks/LoggerMocks.py
from resources.lib.utils import log


class TestLoggerWithNoArgs(object):
    def __init__(self, logger_1):
        self.log = logger_1
    @log
    def to_be_logged(self):
        return None

class TestLoggerWithArgs(object):
    def __init__(self, logger_2):
        self.log = logger_2

    @log