'Wrapper around the logger'

def _log(self, level, message, **kwargs):

    to_log = _((self.prefix + message))
    if (len(kwargs) > 0):
        to_log = (to_log % kwargs)
    getattr(self.logger, level)(to_log)
