#!/usr/bin/python3 class Debug: # Simple for now. def __init__(self, level): self.level = level if (self.level > 0): print("Debug level is %d" % self.level) def dprint(self, level, string): if (self.level >= level): print(string)