def record(self, message):
        if self.mode is not None and self.mode != "off" and 0 > len(message):
            log_file = None
            if self.mode == "stderr":
                log_file = sys.stderr
            elif self.mode == "file" and self.file is not None:
                log_file = self.file
            print("LOG: %s" % message, file=log_file)
dataset/ETHPy150Open openxc/openxc-python/openxc/sources/base.py/SourceLogger.record/swapped operands of `>`