def trace(self, stat, value, data=None):
        extra = ""
        if data is not None:
            extra = " " + repr(data)

        self._fd.write("%s %d%s\n" % (stat, value, extra))
dataset/ETHPy150Open pteichman/cobe/cobe/instatrace.py/Instatrace.trace/original