def _log(self, logType, msg): callframe = None try: callframe = _getframe(3) except: pass Log._log(logType, msg, callframe)