def log(self,msg='', level=2):
        plugin = "plugin.video.mrknow"
        try:
          msg = msg.encode('utf-8')
        except:
          pass
        try:
            xbmc.log("[%s] %s" % (plugin, msg.__str__()), level)
            #print("[%s] %s" % (plugin, msg.__str__()))
        except:
            #print("[%s] %s" % (plugin, msg.__str__()))
            pass
dataset/ETHPy150Open mrknow/filmkodi/plugin.video.mrknow/lib/mrknow_pLog.py/pLog.log/original