def log(msg, level=xbmc.LOGNOTICE):
    plugin = "plugin.video.mrknow"
    msg = msg.encode('utf-8')
    xbmc.log("[%s] %s" % (plugin, msg.__str__()), level)
    print("[%s] %s" % (plugin, msg.__str__()))
dataset/ETHPy150Open mrknow/filmkodi/plugin.video.mrknow/lib/common.py/log/original