def METHOD_NAME(self, parameters):
    parameters = dict(parameters)
    for param in ('password', 'oldpassword', 'newpassword'):
        if parameters.get(param):
            parameters[param] = '***'
    logging.debug('%s(%r)', self.__class__.__name__, parameters)