def METHOD_NAME(self, *args):
    if len(args) == 0:
        text = 'This is '
        if self.name in periodicloggers:
            text += 'a periodic logger, with an update interval of %.2f seconds.\n' % self.dt
        else:
            text += 'a non-periodic logger.\n'
        text += 'with variables: ' + self.listallvarnames() + '\n'
        text += self.name + ' is ' + ('ON' if self.isopen() else 'OFF') + \
            '\nUsage: ' + self.name + \
            ' ON/OFF,[dt] or ADD [FROM parent] var1,...,varn'
        return True, text
        # TODO: add list of logging vars
    elif args[0] == 'ON':
        if len(args) > 1:
            if isinstance(args[1], float):
                self.dt = args[1]
            else:
                return False, 'Turn ' + self.name + ' on with optional dt'
        self.start()
    elif args[0] == 'OFF':
        self.reset()
    elif args[0] == 'ADD':
        return self.addvars(list(args[1:]))
    return True