def __getattr__(self, name):
    if (name not in ('critical', 'error', 'warning', 'info', 'debug', 'exception')):
        raise AttributeError(f"'{self.type}' object has no attribute '{name}'")
    return partial(self._proxied_logging_method, name)
def __getattr__(self, name):
    if (name not in ('critical', 'error', 'warning', 'info', 'debug', 'exception')):
        raise AttributeError(f"'{self.type}' object has no attribute '{name}'")
    return partial(self._proxied_logging_method, name)