def _debug(self, text): if not self.debug: return Logger.debug(text)
def _debug(self, string): '''print to debug''' if not self.debug: return Logger.debug(string)