def _proxied_logging_method(self, method, *args, **kwargs):
    if (method == 'debug'):
        if (logging in (self.workflow or self).settings()):
            debug = (self.workflow or self).settings().logging.debug
        else:
            debug = []
        if (not (('all' in debug) or (self.type in debug) or (self.id in debug))):
            return (lambda *a, **kw: None)
    return getattr(self.logger, method)(*self._log_formatted(*args), **kwargs)
def _proxied_logging_method(self, method, *args, **kwargs):
    if (method == 'debug'):
        if (logging in (self.workflow or self).settings()):
            debug = (self.workflow or self).settings().logging.debug
        else:
            debug = []
        if (not (('all' in debug) or (self.type in debug) or (self.id in debug))):
            return (lambda *a, **kw: None)
    return getattr(self.logger, method)(*self._log_formatted(*args), **kwargs)